In our company iis 5.1 in developer's machine(windows xp) is configured in such way that it will not accept any requests other than localhost or 127.0.0.1. That means if I have a default.htm in page in the root, I can only access this as http://localhost/default.htm or http://127.0.0.1/default.htm. If access this site as http:///default.htm, I will get http 403.6 IP address rejected error. I understnd this is done so that websites in a developer machine cannot be accessed from any other machine with in the company.

I would like to know how to configure IIS5.1 like this?

Thanks in advance.

link|improve this question
Who tagged this to belong on Super User? If anything, it belongs on Server Fault. – Richard Szalay Nov 6 '09 at 13:13
feedback

migrated from stackoverflow.com Nov 6 '09 at 13:59

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

2 Answers

Change the IP of the default binding of the website from "*" to "127.0.0.1". Since localhost resolves to 127.0.0.1, it's also covered.

link|improve this answer
feedback

Right click the website you are configuring. Go to properties, and open the directory security tab. There is a section called IP address and domain name restrictions. Click Edit. Change the 'By default, allow all computers will be: Granted Access to Denied Access. then, add 127.0.0.1 to the Except the following: list.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown