-
Notifications
You must be signed in to change notification settings - Fork 20.6k
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
Can't use rpc http api when using docker image #14623
Comments
@buxx setting What you need to do is run docker with So:
|
Hello, I'm totally sorry you're entirely right ! Bux. |
I greatly appreciate this thread as I was having the same issue, but I cannot get it to work! Running geth on the machine itself, I can connect just fine. If it's running inside Docker, though, connections are refused (and, in fact, I don't even see the "HTTP endpoint opened" message in the logs. Any idea what might be going on? |
@EvilJordan are you running that exact command that I posted? |
@lmars I'm running this: I've also tried with: |
@EvilJordan ok, and then what? Are you getting an error somewhere? |
@lmars No, no errors at all. I think it has something to do with the container<->docker relationship and port bindings. I'm still digging away! |
It is not working! |
--http --http.port=8545 --http.addr=0.0.0.0 --http.vhosts="*" --allow-insecure-unlock --http.api="db,eth,net,web3,personal" |
|
Hello,
I'm trying to setup a ethereum (with docker) on personal dedicated server, then use it with personal computer installed Ethereum Wallet/Mist. But RPC api seems not available. Thank's.
System information
Expected behaviour
RPC HTTP interface available on
http://127.0.0.1:8545
.Actual behaviour
No RPC HTTP interface on
http://127.0.0.1:8545
:Steps to reproduce the behaviour
Run
docker run -it -p 8545:8545 -p 30303:30303 -v /data/ethereum:/root/.ethereum ethereum/client-go --rpc --rpcaddr "127.0.0.1"
then runcurl http://127.0.0.1:8545
.The text was updated successfully, but these errors were encountered: