Link to home
Start Free TrialLog in
Avatar of YoungBonzi
YoungBonziFlag for United States of America

asked on

Block IIS from Outside Traffic on Development Machine

Hello, I'd like to block IIS from receiving traffic on my development machine. Essentially, I want it to only serve pages to the local IP.

Can someone tell me how to do this?

Using IIS 7 on Vista.

Thanks~
ASKER CERTIFIED SOLUTION
Avatar of jasco4617
jasco4617

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of YoungBonzi

ASKER

Thank you, do you happen to know if there is a way to do it from IIS?
Avatar of jasco4617
jasco4617

Yes, you can do this from IIS.

If you are using IIS 7, then you would open IIS Manager, click on the website you are wanting to restrict and in the Feature View for that website double click on "IPv4 Address and Domain Restrictions".  Under "Actions" on the right, you will select "Edit Feature Settings..." and select "Deny" from the "Access for unspecified clients" drop down list, then click "OK".  Then click on "Add Allow Entry..." from the Actions list on the right and make all you exception for address to allow access to your website.
Okay, that's how I remember to do it...for some reason that feature is not in my IIS Manager. I'll look into seeing how to add it. Thanks again.
Ahh, just had to check the IP Security box in the Windows Components dialog. TY