I run a light node on a windows 10 machine on my network with the command:

geth --syncmode="light" --cache=4096 -http --http.port 8545 --http.corsdomain "*" -http.api "eth,web3,personal" console

The windows 10 machine has the local IP address of

When I run a web3 request through the windows machine using the endpoint: http://localhost:8545 it works perfectly. Once I run the same request on another machine on the network using the endpoint the request won't go through.

Any way I can resolve this issue?

Thanks for the help

1 Answer 1


Geth binds to localhost by default. To allow outside machines to connect, you can add something like this to the parameters:

--http.addr ""

See the Geth documentation for all possible options.

  • Thank you. I am encountering the same issues with web sockets but --ws.addr "" won't solve it this time. Any remedy? Commented Jan 18, 2021 at 0:22
  • Try setting ws.origins as well, e.g. --ws.origins "*". Also note that websockets run on port 8546, rather than 8545 by default.
    – Morten
    Commented Jan 18, 2021 at 0:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.