If not explicilty set a node binds only to IPv4 addresses. This results in some usability issues. For example I cannot connect to the HTTP or Websocket RPC API endpoints if I use the host localhost if that host name resolves to ::1. Similarly, if I use --unsafe-rpc-external I cannot reach the RPC API from other machines over IPv6. The same applies to the P2P connection.
I’d suggest binding to ::1 if we’re also binding to 127.0.0.1 and to bind to :: if we’re also binding to 0.0.0.0
If not explicilty set a node binds only to IPv4 addresses. This results in some usability issues. For example I cannot connect to the HTTP or Websocket RPC API endpoints if I use the host
localhost
if that host name resolves to::1
. Similarly, if I use--unsafe-rpc-external
I cannot reach the RPC API from other machines over IPv6. The same applies to the P2P connection.I’d suggest binding to
::1
if we’re also binding to127.0.0.1
and to bind to::
if we’re also binding to0.0.0.0