KB2621067

Consider the following scenario:

  • Multiple network adapters are installed on a computer.
  • One network adapter is configured to use an Automatic Private Internet Protocol Addressing (APIPA) IP address.
  • Another network adapter is configured to use a non-APIPA IP address.
  • The interface metric is smaller on the second network adapter than the metric that is configured on the first network adapter.
  • An application calls the getaddrinfo function on the computer.

In this scenario, the first-returned IP address is the APIPA IP address.

Notes:

  • This issue prevents network applications that use only the first-returned local IP address by calling the getaddrinfo function (such as a Java-based application that calls the GetLocalHost Java API) from connecting to network resources.
  • This issue occurs on a computer that is running one of the following operating systems:
    • Windows Vista Service Pack 2 (SP2)
    • Windows Server 2008 Service Pack 2 (SP2)
    • Windows 7
    • Windows 7 Service Pack 1 (SP1)
    • Windows Server 2008 R2
    • Windows Server 2008 R2 Service Pack 1 (SP1)

Leave a Reply