I am trying to access Identity Server 4 from my .NET Core MVC application.
Code in my application:
var disco = _client.GetDiscoveryDocumentAsync($"{settings.Value.IdentityServer}").Result;
I am getting result when hitting from browser.
But when I try to hit through Docker, it's not working.
I get this error
Error connecting to http://localhost:5103/.well-known/openid-configuration. Connection refused
Please help me fix this issue.
2.1m questions
2.1m answers
60 comments
57.0k users