InetAddress.getLocalHost() returns APIPA/link-local address in a Windows 2008 SP2 or later version Windows OS with multiple-NICs.
Charles Lee
littlee at linux.vnet.ibm.com
Thu Dec 1 23:42:55 PST 2011
On 12/01/2011 06:21 PM, Alan Bateman wrote:
> On 01/12/2011 01:13, Charles Lee wrote:
>>
>> Yes. In the customer scenario, the return value is 169.254.*.*/16
>> address.
> Sorry for all the questions but I'm still scratching my head as to how
> the lookup of the current host's name ends up with a list that
> includes these addresses. Is it definitely a behavior change in 2008
> R2 or is it possible that the customer has configured the hosts file
> this way?
>
> -Alan.
It is definitely a behavior change in 2008 R2.
--
Yours Charles
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/net-dev/attachments/20111202/e67d57a0/attachment.html
More information about the net-dev
mailing list