Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Impossible to connect to local EVM network instance #76

Open
lucianoacsilva opened this issue Apr 2, 2024 · 1 comment
Open

Impossible to connect to local EVM network instance #76

lucianoacsilva opened this issue Apr 2, 2024 · 1 comment

Comments

@lucianoacsilva
Copy link

lucianoacsilva commented Apr 2, 2024

Hello,

When trying to run the services described in docker-compose file, the ingestion service does not recognize the local EVM network running at port 8545. I passed the en variable NODE_ENDPOINT as described in the README.md file, but the logs of the service return "Connection Refused", as shown below:

java.net.ConnectException: Failed to connect to /172.16.239.1:8545

Someone know how could I solve these issue?

I am running the command as follows:

NODE_ENDPOINT=http://172.16.239.1:8545 docker-compose up

I am running both the explorer and the local EVM network on a WSL 2 distribution.

@vikipedia48
Copy link

I had a similar error. What fixed it for me was changing NODE_ENDPOINT to http://host.docker.internal:8545 instead of http://localhost:8545. My Besu network was hosted on Docker, don't know if yours is.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants