I can never remember how to do this.

(I used VS2017) Go into the .vs directory and edit applicationhost.config.

Find the binding for the site you are interested in and change localhost to *.  So from bindingInformation="*:58904:localhost" to bindingInformation="*:58904:*"

That's it done!  Of course you need to open suitable holes in any firewalls, but that is it for IIS Express 

Same ideas mentioned here - his article seems to spell out the machine's IP address every time.  That seems not to be required for the binding (use the *).  Not sure about the other places.  I didn't need anything to allow access to the URL and I just turned off the firewall temporarily through sheer laziness.

Posted in: Visual Studio


There are currently no comments, be the first to post one!

Post Comment

Only registered users may post comments.
Copyright 2002-15 by Dynamisys Ltd