If the browser works from the same machine, then your private ipaddress is not blocked. It more likely proxy settings for the browser are different than HttpClient.
IP blocked from accessing Microsoft services via .NET HttpClient
Stéphane Royer
0
Reputation points
Hello,
Since today, April 24th, I'm experiencing connectivity issues to most Microsoft services from my public fix IP address given by my hosting provider.
Specifically, with dotnet tools (dotnet add package, dotnet restore, or actually anything that relies on dotnet HttpClient) I am unable to access:
- NuGet endpoints
- Visual Studio Code website
- Anything on microsoftonline.com
- Other Microsoft-related URLs
However:
- The issue disappears when using a different network (e.g. mobile hotspot)
- The exact same problem occurs on another machine on the same network, and on this other machine, the issue disappears as well from a different network.
These symptoms strongly suggest that the IP address is being blocked or filtered by Microsoft’s infrastructure (possibly via Azure Front Door or CDN).
Where can I get support for this?
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,230 questions