InetAddress.getLocalHost() returns APIPA/link-local address in a Windows 2008 SP2 or later version Windows OS with multiple-NICs.
Alan Bateman
Alan.Bateman at oracle.com
Mon Dec 19 10:53:38 PST 2011
On 19/12/2011 03:25, Charles Lee wrote:
>
> Hi Alan,
>
> Here is fix of Microsoft:
>
> http://support.microsoft.com/kb/2621067
>
Thanks for the link. I guess I'm still surprised that APIPA addresses
are returned by getaddrinfo, irrespective of the ordering.
-Alan.
More information about the net-dev
mailing list