Page 1 of 1

Possible to use IIS Express from a remote computer?

PostPosted: January 13th, 2018, 9:26 pm
by uwe
This blog post describes how to make Visual Studio and IIS Express work for external incoming requests from "remote" computers in the same LAN.

Unfortunately this does not relate to PHP Tools for Visual Studio 2017.

My question:

Is there any way to use DevSense projects inside VS 2017 with IIS Express from other computers (in my LAN)?

Re: Possible to use IIS Express from a remote computer?

PostPosted: February 14th, 2018, 12:36 pm
by maros.beno
Hi,
it should work just as in the blog post. I just tested it and everything works for me. Just set IIS Express in Server section of project properties, find generated site in %userprofile%\documents\iisexpress\config\applicationhost.config and add the binding with your ip next to the localhost binding. Also, you have to run Visual Studio as Administrator and allow that port in the firewall. Then it should work for you.

Thanks for the question, we should probably make some tutorial for this.

PostPosted: February 14th, 2018, 2:43 pm
by uwe
Thanks, Maros, I'll give it a try.