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

Unable to connect to web server iis express :

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).

Second Solution is

I simply toggled on “Enable SSL”. This solved my problem.

  1. Right-click web project
  2. Debug tab
  3. Toggle Enable SSL “on” (if it is off, which was my case)

Leave a Comment