How can I control which IP address IIS7 uses?
Posted
by brennanwstehling
on Server Fault
See other posts from Server Fault
or by brennanwstehling
Published on 2009-03-19T04:30:01Z
Indexed on
2010/06/05
6:23 UTC
Read the original article
Hit count: 1637
In Win2k3 I used httpcfg to tell IIS to listen to specific IP addresses on the server. I want to run Apache with VisualSVN Server on port 80 on another IP address but IIS7 binds to all ports by default.
What utility for IIS7 controls the IIS7 bindings?
Update: I found the answer. There is a utility called netsh.
netsh http add iplisten ipaddress=xxx.xxx.xxx.xxx
By default there are not IP addresses on the list so IIS7 will bind to all IP addressed. If you add one IP to the list it will listen to just that IP or any IP added to the list. It is necessary to restart IIS7 for the change to take affect.
© Server Fault or respective owner