I have spent a lot of time and tried everything that I could find on Google but could not make it work.
- I have a working docker container with a .Net Core app 3.1 Blazer.
- I have hosted this on a Linux server centOS 8. It looks like a clear docker container without Kubernetes, etc...
- I can open my web site and use it
But I can't send requests from my app, something like the following:
var response = await (await httpClient.GetAsync($"requestString}")).Content.ReadAsStringAsync();
At this part of code i have error:
Unhandled exception rendering component: Resource temporarily unavailable System.Net.Http.HttpRequestException: Resource temporarily unavailable ---> System.Net.Sockets.SocketException (11): Resource temporarily unavailable at System.Net.Http.ConnectHelper.ConnectAsync(String host, Int32 port, CancellationToken cancellationToken) --- End of inner exception stack trace ---
