Visual Studio 2017 Enable SSL

后端 未结 9 1230
我在风中等你
我在风中等你 2020-12-23 13:45

How do you enable SSL for a project in Visual Studio 2017?

In VS15, I could select Project -> Properties -> Debug -> Enable SSL. This option is not available in VS20

9条回答
  •  遥遥无期
    2020-12-23 14:14

    Ports are locked down in IIS Express so that it doesn't have to be run as Administrator...

    Valid Ports are 44300 - 44399

    Check out the Dev Community article https://developercommunity.visualstudio.com/content/problem/39430/changing-port-number-in-a-web-project-does-not-imm.html

    You can edit launchSettings.json, but the ssl ports must fall in this range.

提交回复
热议问题