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=192.168.0.90
You should get IP address successfully added7) Type sho iplisten again
It should sho 192.168.0.90 in the list8) Type exit to get out of netsh
9) Type type netstat -an.  See if you notice 192.168.0.90:80 in the list.  If you see 0.0.0.0:80, do an iisreset



Comments

Popular Posts