Could not fetch chain ID. Is your RPC URL correct?


Uhm this should work out of the box (I use it myself). Some screenshots:



Can you try to run on a terminal curl -k -X POST -H 'Content-Type: application/json' -d '{"jsonrpc":"2.0","method":"eth_chainId","id":1}' http://localhost:8545 and tell me what you get?
Its all about this piece of code in main.js file(strings 211 & 220):
Now it looks like localhost, what makes node listen only on 127.0.0.1 or localhost. As long as operation system doesn't
see Docker-container as localhost this doesn't work. Is you try to change this strings to '0.0.0.0' it would be able to interact with any incoming request.
I can upload already fixed version if you want.
@TessTea if you have a fix it would be great! Can you make a PR?
@vrde Can
@TessTea if you have a fix it would be great! Can you make a PR?
@vrde here it is
@vrde Can you take a look at it?
Thanks! Sorry for my late reply