我在 IIS 服务器上托管示例应用程序。但是当我从本地浏览器点击 URL 时,出现错误。我的 IDP 在 localhost 上工作正常,但在 IIS 服务器上不工作。
第一个:我是否需要在托管我的示例应用程序的 Windows 服务器上建立互联网连接第二个:当我在 Windows 服务器上运行 idp url 时,它无法正常工作,因为没有互联网连接
请帮我理解。
System.Net.WebException: No such host is known. No such host is known.
System.Net.Http.HttpRequestException: No such host is known.
System.Net.Sockets.SocketException (11001): No such host is known.
at System.Net.Http.ConnectHelper.ConnectAsync(String host, Int32 port, CancellationToken
cancellationToken)
End of inner exception stack trace ---
at System.Net.HttpWebRequest.GetResponse()
at System.Net.WebClient.GetWebResponse(WebRequest request)
at System.Net.WebClient.DownloadBits(WebRequest request, Stream writeStream)
at System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request)
at System.Net.WebClient.DownloadString(Uri address)
at ITfoxtec.Identity.Saml2.Schemas.Metadata.EntityDescriptor.ReadIdPSsoDescriptorFromUrl(Uri
idPMetadataUrl)