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.
5 Answers
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.
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.
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.
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.
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.

Related Questions
Can't Load PhpMyadmin On After Server Update
Redirect www to non-www in Apache Conf
How To Check If Your SSL Cert Is SHA 1
Windows TrackPad Gestures