Quantcast
Channel: All Forums
Viewing all articles
Browse latest Browse all 27852

IIS Express refuses connections on port 8080

$
0
0

I am trying to setup a simple localhost Asp.Net site on a new Windows 8 laptop.

I used Control Panel > 'Turn windows features on/off' to add .Net frameworks 3.5 and 4.5 and Internet Information Services (IIS8). I then installed Visual Web Developer Express 2008 and tried to build and run a simple .Net application, but was unable to do so (incompatiblities)

So I used Control Panel > 'Turn features on/off' to remove IIS8.  It is now not showing in Administrative Tools.  However C:/Program Files folders still contains folder IIS.

I installed "Visual Studio Express 2012 for Web" (VSE) and "IIS Express" (IISE).  When I use VSE to create a new website and select HTTP, then browse for Web location, a "Choose Location" window pops up showing both "IIS Sites" (which I had originally created, but couldn't run) and "IIS Express Sites". IIS sites have URL http://localhost whereas IIS Express Sites have URL http://localhost:8080.

When I now create a Web Forms Site under IIS Express, I am able to 'debug' it under VSE, and while it is open under VSE I can access the site directly from Internet Explorer using address like http://localhost:8080/MyTestSite/default.aspx.  However, when I close the solution in VSE, then try to access the site from Internet Explorer, I get "Page can't be displayed" > "localhost is not setup to accept connections on port 8080".

The default port 80 has been assigned to IIS 8 (which is unusable), and port 8080 used by IIS Express is not configured to accept connections.

Please advise how I can resolve this.  I'd really like to remove the IIS 8 website and set IIS Express to use port 80, but if I can't do that, I'd like to find a way to make localhost:8080 accept connections.

Thanks for suggestions.

 


Viewing all articles
Browse latest Browse all 27852

Trending Articles



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