Disable binding all ips on IIS 6
Posted by on 01 March 2009 10:28 AM

IIS 6 bind all ips available on server by default.

As a result you cannot run any other application on port 80 like webmail service or apache server.

You need admin support tool httpcfg.exe from Windows 2003 Install CD to configure IIS to listen to specific ips

1. Open a command prompt window

2. Type the following, where is the IP address you want to add:
httpcfg set iplisten -i
When this succeeds, Httpcfg returns the following:
HttpSetServiceConfiguration completed with 0

3. After the IP address is added, use the following command to list it:
httpcfg query iplisten
Httpcfg returns the following:

4. After adding all ips for IIS service, run the following command to restart IIS
net stop http /y
net start w3svc

You can download httpcfg.exe tool at

On IIS 5, you can disable socker pooling so IIS will not bind all ips

  1. At a command prompt, switch to the "C:\InetPub\AdminScripts" folder.
  2. Type the following command:


(250 vote(s))
This article was helpful
This article was not helpful