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=http://dev.wildesoft.net:44300/
To add (notice uppercase E in Everyone)
netsh http add urlacl url=http://dev.wildesoft.net:44300/ 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