IdentityServer4快速入门问题(设置了主机服务器)

问题描述 投票:0回答:1

我目前在IdentityServer 4的此页面上guide,我正在尝试启动服务器。my properties但是,当我运行它时,我的浏览器会弹出此页面http://localhost:5000,并且该页面不可用(由于没有连接,因此无法访问)我可以知道如何托管服务器吗?我完全按照教程学习

asp.net asp.net-core .net-core identityserver4
1个回答
0
投票

我确实验证过,如果我在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"
    }
  }
}
© www.soinside.com 2019 - 2024. All rights reserved.