Articles
17

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 https://johan.driessen.se/posts/accessing-an-iis-express-site-from-a-remote-computer - 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

Comments

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