Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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 ip addresses 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.

share|improve this question

migrated from stackoverflow.com Jun 5 '10 at 6:15

This question came from our site for professional and enthusiast programmers.

    
that did the trick, but you have to add ip while http service is working. –  BasePointer Apr 22 at 16:46

2 Answers 2

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.

share|improve this answer

Just click the "Sites" folder in IIS manager and it lists all the bindings.

*:80 would be the bound to all IP's all unassigned

or

[hostheader] on *:80

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.