WinHttpException:无法建立与服务器的连接

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

我有身份服务器的asp.net核心应用程序...当我尝试运行以下错误消息。

WinHttpException:无法建立与服务器的连接

System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()HttpRequestException:发送请求时发生错误。

System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()IOException:IDX10804:无法从:'http://localhost:5000/.well-known/openid-configuration'检索文档。

Microsoft.IdentityModel.Protocols.HttpDocumentRetriever + d__8.MoveNext()InvalidOperationException:IDX10803:无法从:'http://localhost:5000/.well-known/openid-configuration'获取配置。

Microsoft.IdentityModel.Protocols.ConfigurationManager + d__24.MoveNext()

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

我必须运行Identity Server应用程序和Web应用程序来连接Identity Server项目。

因为我没有运行IDP,我得到连接建立错误:

“无法建立与服务器的连接”

© www.soinside.com 2019 - 2024. All rights reserved.