pan*_*nis 4 .net c# asp.net .net-core
我使用 VS2017 创建了一个空的 asp.net 核心应用程序。我唯一改变的是"sslPort":launchSettings.json 文件中的 属性。当我点击运行 IIS Express chrome 时,打开 urlhttps://localhost:9995/并给出This site can't be reached The connection was reset.错误
我的launchSettings.json如下
{
"iisSettings": {
"windowsAuthentication": false,
"anonymousAuthentication": true,
"iisExpress": {
"applicationUrl": "http://localhost:39566",
"sslPort": 9995
}
},
"profiles": {
"IIS Express": {
"commandName": "IISExpress",
"launchBrowser": true,
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
},
"JccWeb2": {
"commandName": "Project",
"launchBrowser": true,
"applicationUrl": "https://localhost:5001;http://localhost:5000",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
}
}
}
Run Code Online (Sandbox Code Playgroud)
我究竟做错了什么?
| 归档时间: |
|
| 查看次数: |
1237 次 |
| 最近记录: |