You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I cannot connect/ping localhost to resolve to IPv6 ::1 if there is no other IPv6 configured.
I made sure that /etc/hosts reads ::1 localhost, I also made sure that ifconfig shows ::1 for the lo interface. But ping or connect will not resolve, even if I force address family via -A inet6. It only works after I set another IPv6 address.
Why can't I connect to ::1? This also causes problems with the NodeJS testing suite: nodejs/node#37931
Unless I disable IPv6 in kernel, connecting to ::1 or localhost resolving to ::1 should work just fine. It does on Linux and Windows.
The text was updated successfully, but these errors were encountered:
I cannot connect/ping
localhost
to resolve to IPv6::1
if there is no other IPv6 configured.I made sure that
/etc/hosts
reads::1 localhost
, I also made sure thatifconfig
shows::1
for thelo
interface. But ping or connect will not resolve, even if I force address family via-A inet6
. It only works after I set another IPv6 address.Why can't I connect to
::1
? This also causes problems with the NodeJS testing suite: nodejs/node#37931Unless I disable IPv6 in kernel, connecting to
::1
orlocalhost
resolving to::1
should work just fine. It does on Linux and Windows.The text was updated successfully, but these errors were encountered: