Can anybody with more knowledge point out techniques that this would break? Are there any software or networking patterns that currently rely on localhost _not_ resolving to the loopback? EDIT: The RFC mentions that MySQL currently differentiates between the two, but that's it.
Internet Draft: Let 'localhost' be localhost
61–70 of 179 posts
Re: Internet Draft: Let 'localhost' be localhost
#62Re: Internet Draft: Let 'localhost' be localhost
#63Re: Internet Draft: Let 'localhost' be localhost
#64I've had web browsers perform a web search for 'localhost', or even just redirect me to localhost.com. Annoying.
Re: Internet Draft: Let 'localhost' be localhost
#65Does this mean that an entry in /etc/hosts assigning ip to localhost will be ignored?
Re: Internet Draft: Let 'localhost' be localhost
#66If this doesn't happen or takes too long, there's always lacolhost.com and *.lacolhost.com. I own this domain, have registered it out until 2026 and vow that the domain and all subdomains will always redirect to localhost. It's easy to type and easy to remember and should always do a good job of expressing intent of usage.
Re: Internet Draft: Let 'localhost' be localhost
#67Re: Internet Draft: Let 'localhost' be localhost
#68First, the lack of confidence that "localhost" actually resolves to the loopback interface encourages application developers to hard-code IP addresses like "127.0.0.1" in order to obtain certainty regarding routing. This causes problems in the transition from IPv4 to IPv6 (see problem 8 in [draft-ietf-sunset4-gapanalysis]). That does remind me of the times I was dealing with weird connection issues in some critical s…
Hello me from last week. Had exactly this bug, sometimes nginx couldn't connect to the backend (but very rarely, and not reproducible on demand), which I eventually tracked to the fact that localhost sometimes resolved to ::1 instead of 127, which is what the backend was listening on. Still don't understand why it was only like 1 in 1000 requests, and not every or every other request. Just one more slice of ipv6 myst…
Re: Internet Draft: Let 'localhost' be localhost
#69Re: Internet Draft: Let 'localhost' be localhost
#70Why couldn't they just redirect "localhost" at the DNS level to 127.0.0.1?
Building it into the network stack means that entire class of errors stops happening.