Quantcast
Channel: Visual Studio and Visual Web Developer Express
Viewing all articles
Browse latest Browse all 3509

How to configure Visual Studio 2015 iis to run as local server?

$
0
0

I have an MVC app that needs to be tested locally before deployment to the server, did this before with VS2013 and it worked fine.  Now in VS2015 it doesnt work, and an error shows up saying the port is not running and it stops.   The goal is to make it run so the IP and port# are used to access the iis express server

Before in the applicationhost.config file found within   /documents the line below was modified; Now in VS2015 they moved this file into the .vs file in the project folder, but i changed the same exact line: 

<bindings>
<binding protocol="http" bindingInformation="*:43071:10.103.123.025" />
</bindings>

then go into firewall settings and add an exception with the port number, run, open browser and type in 10.103.123.025:43071  and there is the website.  anyone on the local network could access it fine.

in the OLD visual studio it worked.  in VS2015 it fails,  click Run, few seconds  a popup dialog with:   port 12345 is not running  click Here for information about (something).  i looked at every link and still dont understand what it takes to make the VS2015 iis express allow external web pages

thanks


Viewing all articles
Browse latest Browse all 3509

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>