IIS binds to all IP addresses on a server when you install IIS 7.0 on Windows Server 2008

Article translations Article translations
Article ID: 954874 - View products that this article applies to.
Expand all | Collapse all

On This Page

SYMPTOMS

When you install Internet Information Services (IIS) 7.0 in Windows Server 2008, IIS binds to all IP addresses on the server, not merely the IP addresses that are assigned to Web sites. This behavior may occur even though you have set the DisableSocketPooling metabase property in the IIS configuration settings to True.

CAUSE

This issue occurs when the IP listen list is not configured by using specific IP addresses. By default, this behavior occurs in IIS 7.0.

RESOLUTION

To resolve this issue, use the Netsh command prompt utility to configure the IP listen list in Windows Server 2008.

MORE INFORMATION

Add an IP address to the IP listen list

  1. Click Start, click Run, type cmd, and then click OK. A Command Prompt window opens.
  2. At the command prompt, type the following command:
    netsh http add iplisten xxx.xxx.x.x
    Note xxx.xxx.x.x represents the IP address that you want to add.

    If the IP address is successfully added, you receive the following message:
    IP address successfully added
  3. To list the IP address, type the following command after the IP address is added:
    netsh http show iplisten
    The Netsh utility returns the following information:
    IP addresses present in the IP listen list: xxx.xxx.x.x
  4. Stop the HTTP service and its dependent services. To do this, type the following command:
    Net stop http
  5. Restart the HTTP service and its dependent services. To do this, type the following command:
    Net start http
  6. Restart the W3SVC service. To do this, type the following command:
    Net start w3svc
Note The IP listen list is read when the HTTP service starts. If you modify the list, you must restart the HTTP service.

STATUS

This behavior is by design.

REFERENCES

For more information about how to add an IP address to the IP inclusion list, click the following article number to view the article in the Microsoft Knowledge Base:
813368 Setting metabase property DisableSocketPooling has no effect

Properties

Article ID: 954874 - Last Review: June 25, 2008 - Revision: 1.0
APPLIES TO
  • Microsoft Internet Information Services 7.0
Keywords: 
kbtshoot kbprb KB954874

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com