Wednesday, 6 January 2016

Allowing external urls into your DEV environment

Note to self:

When setting up a new machine (or site) in Visual Studio and you want IIS to server external URL's then open a command prompt with admin privalges and type:-

To delete if it exists
netsh http delete urlacl url=

To add (notice uppercase E in Everyone)

netsh http add urlacl url= user=Everyone

You may need to add the entry in .vs/config/applicationhoist.config

You will also need to open up your routers firewall and also the windows firewall

NOTE: to show list of all allowed URLS
netsh http show urlacl

No comments:

Post a Comment