Cryptocurrency Ethereum Mastering Development

How to connect local ganache node with epirus

I tried apirus to connect to local ganache node.

Ganache node is running on localhost:7545.

git clone
cd epirus-free
docker-compose pull
NODE_ENDPOINT=http://docker0:7545 docker-compose up

But couldn’t connect. Error log says docker0 is unknowHost.

api_1      | 2020-03-26 07:05:52.323 ERROR 1 --- [   scheduling-1] o.s.s.s.TaskUtils$LoggingErrorHandler    : Unexpected error occurred in scheduled task.
api_1      | 
api_1      | java.util.concurrent.CompletionException: docker0
api_1      |    at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(Unknown Source)
api_1      |    at java.base/java.util.concurrent.CompletableFuture.completeThrowable(Unknown Source)
api_1      |    at java.base/java.util.concurrent.CompletableFuture$ Source)
api_1      |    at java.base/ Source)
api_1      | Caused by: docker0
api_1      |    at java.base/$CachedAddresses.get(Unknown Source)
api_1      |    at java.base/ Source)
api_1      |    at java.base/ Source)
api_1      |    at java.base/ Source)
api_1      |    at okhttp3.Dns$Companion$DnsSystem.lookup(Dns.kt:49)
api_1      |    at okhttp3.internal.connection.RouteSelector.resetNextInetSocketAddress(RouteSelector.kt:160)
api_1      |    at okhttp3.internal.connection.RouteSelector.nextProxy(RouteSelector.kt:125)
api_1      |    at

How to connect to local ganache node from docker container ??

Leave a Reply

Your email address will not be published. Required fields are marked *