ASP.NET 5 MVC: unable to connect to web server 'IIS Express' ASP.NET 5 MVC: unable to connect to web server 'IIS Express' asp.net asp.net

ASP.NET 5 MVC: unable to connect to web server 'IIS Express'


After installing Update 2 for Visual Studio 2015 I started getting the same error. I tried everything above with no luck. However, I found a solution that works for me:

  1. Delete YourSolutionFolder\\.vs\config\applicationhost.config file (note: .vs is a hidden folder)
  2. Open Visual Studio, right-click on web site > Properties > Debug tab > Web Server Settings > App URL - change port number.


Exit VS and delete the (project)\.vs\applicationhost.config file. Restart VS. It should start working.


Try using a different port. I just set up a new Core 1.0 RC1 project and got the same error.

  • Right click web project
  • Debug tab
  • Toggle Enable SSL off and on again, it should generate a new random port
  • Copy the SSL URL and paste into Launch URL box
  • Run the project

Worked for me (TM).

Answer from: https://stackoverflow.com/a/28650554/134761

enter image description here