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

I checked the IP address i'm exposed to outside world by checking www.myip.dk Used that address as Deny entry in IIS7 feature "IP Address and Domian Restrictions" but I can still access the website. Is there anything else what I'm missing. (Access for unspecified clients is set to Allow)

I also checked that the connection is from Denied IP by listing TCP connections using sysinternals tool tcpview.exe

share|improve this question

2 Answers 2

That's your public IP, but if it's your IIS server and it's on your internal network, then it may not be the IP that the IIS server gets the request from - it may be a private address instead.

Check the IIS logs to determine the IP address that it sees your requests coming from.

share|improve this answer
Good point, but the IIS server doesn't seats on site, it is at service provider. –  Tomek Dec 22 '11 at 17:42
Ahh - well, it's probably still a good idea to verify the source IP of the request in the logs. Also, what location were you in (server settings, site settings, directory settings) when you set up the access restriction? –  Shane Madden Dec 22 '11 at 17:43

This page describes all requirements of the IP Restriction feature. Although I had installed IIS server role "IP and Domain Restriction" the module IpRestrictionModule was not on the list of IIS modules, adding it manually (as dll was in the system %windir%\System32\inetsrv\iprestr.dll) didn't resolve the problem. After uninstalling and installing again "IP and Domain Restriction" feature, it has started to work correctly.

share|improve this answer

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.