in reply to Does Perl always resolve localhost to loopback?
Any deviation from this behaviour is BROKEN.
See Section 4.1 of RFC1912, where localhost is defined as 127.0.0.1
Thanks for finding this Java bug ... which JDK (so I can remember not to use it)?
Updated:
I just tested this on my 1.3.1 JDK, and it did not act as you describe. Perhaps you are confusing InetAddress.getByName("localhost") and InetAddress.getLocalHost()?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Does Perl always resolve localhost to loopback?
by pg (Canon) on Oct 18, 2003 at 02:25 UTC |