IIS 7 or later: prevent IIS from listening all IP addresses

In some case, you may want to install Apache with IIS on the same server but IIS keep listening on all ports.

You may tried to remove some IP at "Edit Bindings..." but it doesn't work.  You may try the below steps:

1) Added or make sure your machine has two ip's
2) Open a command prompt
3) Type netsh
4) Type http
5) Type show iplisten.  It should be blank6) Type add iplisten ipaddress=
You should get IP address successfully added7) Type sho iplisten again
It should sho in the list8) Type exit to get out of netsh
9) Type type netstat -an.  See if you notice in the list.  If you see, do an iisreset


Popular Posts