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

后端 未结 30 2108
北恋
北恋 2020-12-12 13:28

What I\'m doing:

  • Opening Visual Studio Community 2015
  • File -> New -> Project
  • Under Visual C#: Web -> ASP.NET Web Application
  • Web App
30条回答
  •  盖世英雄少女心
    2020-12-12 13:54

    My solution (for .net core 2.0) was that i had forgot to add the port number in the applicationUrl, under iisExpress in launchSettings.json

    "iisExpress": {
      "applicationUrl": "https://localhost:50770",
      "sslPort": 50770
    }
    

提交回复
热议问题