Listen/bind IIS 7 or 7.5 to a specific IP on a server with multiple IP’s

In some cases you want multiple webserver software co-exist on the same server (for example IIS, Apache, Tomcat, etc).
On Windows all IP’s will be bound to IIS to be used preventing other web software to be bound to port 80.
In order to solve this the IIS needs to be bound to a specific IP address(es).
How to:
  • Start an administrative cmd prompt (run as administrator)
  • netsh http add iplisten ipaddress=10.0.0.10
Checks
Verify the http iplisten with netsh http sho iplisten
Verify your change by doing a netstat -an (and check that 10.0.0.1:80 is in the list). If you still have a 0.0.0.0:80 in the list you must do a IISreset on the server to release the binding.
Links

2 comments:

Anonymous said...

Very concise and helpful. Thank you.

However, this is one small typo in the blog. Instead of:

netst http add iplisten ipaddress=10.0.0.10

It should be:
netsh http add iplisten ipaddress=10.0.0.10

DaddyR said...

Hello,

Thanks for dropping a note about my typo (now corrected) and that my information helped you.