IIS 7 on Windows 2008 Binds to ALL Available IP Addresses
- 06/06/2020 8:01 PM
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
- Click Start, click Run, type cmd, and then click OK. A Command Prompt window opens.
- At the command prompt, type the following command:
netsh http add iplisten xxx.xxx.x.xNote 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: - To list the IP address, type the following command after the IP address is added:
netsh http show iplistenThe Netsh utility returns the following information:
- Stop the HTTP service and its dependent services. To do this, type the following command:
Net stop http
- Restart the HTTP service and its dependent services. To do this, type the following command:
Net start http
- Restart the W3SVC service. To do this, type the following command:
Net start w3svc