Windows 11 Shows No Internet, but Ping Works and cURL Fails
Asked by
cyan+12pct
My Windows 11 PC says it isn't connected to the internet in Settings, but I can still ping websites such as Google from Command Prompt. However, cURL requests fail. The same network works normally on my phone, so I'm not sure whether this is a Windows configuration, proxy, VPN, DNS, or network adapter issue. The PC has a Ryzen 7 7800X3D, GeForce RTX 5070 Ti, ASRock B650M Pro RS WiFi motherboard, and 32GB of RAM.
Answers
If you have a VPN installed, especially one that adds its own network adapter or filtering, temporarily uninstall it rather than just disconnecting it. VPN software can interfere with Windows connectivity checks and command-line traffic.
Reply to this answer
If possible, connect the PC directly to the router with an Ethernet cable. That will help determine whether the problem is limited to the motherboardโs Wi-Fi adapter or its driver.
Reply to this answer
Try resetting the network stack from an elevated Command Prompt, then restart the PC: `ipconfig /flushdns`, `ipconfig /release`, `ipconfig /renew`, `netsh winsock reset`, and `netsh int ip reset`. After rebooting, forget the Wi-Fi network and reconnect. Restarting the router is worth trying too.
Reply to this answer
Make sure youโre actually running cURL correctly. On Windows, try the full executable path: `C:WindowsSystem32curl.exe`. If that works, your PATH environment variable may be missing the folder containing cURL.
Reply to this answer
Check whether Windows is configured to use a proxy: open Start, search for Internet Options, go to Connections, select LAN settings, and make sure โUse a proxy serverโ is disabled unless you specifically need one.
Reply to this answer
Add your answer
Answers are reviewed before publication.
Related Discussions