我目前在IdentityServer 4的此页面上guide,我正在尝试启动服务器。my properties但是,当我运行它时,我的浏览器会弹出此页面http://localhost:5000,并且该页面不可用(由于没有连接,因此无法访问)我可以知道如何托管服务器吗?我完全按照教程学习
我确实验证过,如果我在Github上使用示例中的JSON,那么它将正确命中发现端点;用以下命令替换模板创建的JSON:
{
"iisSettings": {
"windowsAuthentication": false,
"anonymousAuthentication": true,
"iisExpress": {
"applicationUrl": "http://localhost:5000",
"sslPort": 0
}
},
"profiles": {
"IIS Express": {
"commandName": "IISExpress",
"launchBrowser": true,
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
},
"SelfHost": {
"commandName": "Project",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
},
"applicationUrl": "http://localhost:5000"
}
}
}