IP addresses may not appear in IIS 6.0 after you install Application Center 2000 (831137)



The information in this article applies to:

  • Microsoft Internet Information Services version 6.0

SYMPTOMS

You may see only one IP address that is available for binding to a Microsoft Internet Information Services (IIS) 6.0 Web site. This problem may occur after you install Microsoft Application Center 2000 Service Pack 2 (SP2) on a computer that is running the Microsoft Windows Server 2003 operating system, regardless of how many IP addresses are bound to network adapters on the server.

Note Network adapters are also known as network interface cards or NICs.

You can view or change the IP address bindings through IIS Manager. In IIS Manager, you can right-click a Web site and then click Properties. On the Web Sites tab, you may see only one address in the IP address list.

CAUSE

When you install Application Center 2000, Application Center 2000 adds new entries to the HOSTS file. The HOSTS file is located in the %WINDIR%\System32\Drivers\Etc folder. These entries are similar to the following:

###### Beginning of Microsoft Application Center section. DO NOT MODIFY.
192.128.253.1    computername ### END
192.128.253.1    computername.domain.com ### END
###### End of Microsoft Application Center section.

In this sample entry, 192.128.253.1 is the only address that appears in the IP Address list in IIS Manager, together with all unassigned. This behavior occurs because IIS Manager uses either the gethostbyname function or the gethostbyaddr function to determine the IP addresses that are bound on the server. These functions try to resolve the host name by using name services in the following order:
  1. HOSTS file
  2. DNS server
  3. Windows Internet Name Service (WINS) server
  4. Local broadcasting
  5. LMHOSTS file
After the name has been resolved by using one of these services, resolution stops. In this case, because the name can be resolved by using the entries in the HOSTS file, no other services are queried.

For additional information about how the gethostbyname function resolves a host name, click the following article number to view the article in the Microsoft Knowledge Base:

192128 gethostbyname() retrieves only one IP address from WINS

WORKAROUND

To work around this problem, use one of the following methods:
  • Add all bound IP addresses to the HOSTS file. For example, if the server has both 192.128.253.1 and 192.128.253.2 bound to the network adapter, the entries in the HOSTS file will appear similar to the following:

    192.128.253.2 computername

    ###### Beginning of Microsoft Application Center section. DO NOT MODIFY.
    192.128.253.1    computername ### END
    192.128.253.1    computername.domain.com ### END
    ###### End of Microsoft Application Center section.

  • Manually enter the IP address in the IP address list in IIS Manager. The IP address must be a valid IP address that is bound to a network adapter in the server.

REFERENCES

For additional information about missing IP addresses in IIS Manager, click the following article number to view the article in the Microsoft Knowledge Base:

297265 All bound IP addresses do not appear in IIS MMC drop-down list box


Modification Type:MajorLast Reviewed:5/12/2004
Keywords:kbprb KB831137 kbAudDeveloper