Hisham on Nostr: My Ubuntu box didn't have "localhost" for ::1 in /etc/hosts, only for 127.0.0.1. (I ...
My Ubuntu box didn't have "localhost" for ::1 in /etc/hosts, only for 127.0.0.1. (I don't remember if that was the default or if I took it out at some point *). It does have ip6-localhost as a name.
Some tests in a third-party suite (likely written for macos) failed because of that. So I added localhost to ::1 in my /etc/hosts and the tests now pass.
(If that was even the default Ubuntu setup,) is there a reason why localhost is IPv4 only?
Some tests in a third-party suite (likely written for macos) failed because of that. So I added localhost to ::1 in my /etc/hosts and the tests now pass.
(If that was even the default Ubuntu setup,) is there a reason why localhost is IPv4 only?