Stale credentials and Windows Firewall blocks are the two most common causes. Here’s how to diagnose which one is stopping your connection and fix it.
The most common reason a VPN refuses to connect is an authentication failure — wrong username, wrong password, or an account that has lapsed. VPN clients often store credentials and silently retry them without prompting; if the password changed after account renewal, the client keeps sending the old one. Re-entering credentials manually (not relying on saved values) eliminates this as a cause immediately.
Windows Firewall and third-party antivirus products (especially those with network inspection features) frequently block VPN protocols or the VPN client's network adapter. This is particularly common after a Windows update or after installing new security software. The VPN client may show a generic 'connection failed' error rather than a firewall-specific message, making this non-obvious to diagnose without testing.
VPN client updates often include fixes for connection failures caused by changes in server-side infrastructure. An outdated client may fail silently against updated servers. Protocol conflicts are also common: a client set to use a specific protocol (OpenVPN UDP, L2TP, IKEv2) may fail on certain networks while another protocol succeeds. Most clients allow manual protocol selection in settings.
Some networks block VPN traffic at the router or gateway level — this is common on certain public WiFi networks (airports, hotels, schools), some corporate networks, and ISPs in certain regions. The tell-tale sign is that the VPN works fine on your home network or mobile hotspot but fails on a specific network. Switching protocol to TCP on port 443 (which mimics HTTPS traffic) often bypasses this type of blocking.
Open your VPN client and go to its account or login settings. Clear any saved username and password fields and retype them fresh — don't paste from a clipboard with invisible whitespace. Confirm your subscription is active by logging into the VPN provider's website. If your provider uses a separate VPN username and password (distinct from your account login), check the provider's dashboard for the correct VPN credentials.
Go to Settings > Privacy & Security > Windows Security > Firewall & network protection. Click the active network profile (Domain, Private, or Public) and toggle the firewall off. Immediately attempt to connect with your VPN. If it succeeds, the firewall was the cause — re-enable the firewall, then add an exception: Windows Security > Firewall & network protection > Allow an app through firewall and add your VPN client. Re-enable the firewall before continuing normal use.
Avoid updating through in-app prompts alone — go directly to the VPN provider's download page in a browser and download the latest version. Uninstall the current client first (Settings > Apps > your VPN app > Uninstall), restart, then install the fresh download. This ensures you get the full current build rather than a patched incremental update.
In your VPN client's settings, look for a Protocol or Connection section. If currently on UDP, switch to TCP — or vice versa. On networks that block VPNs, try a protocol that uses port 443 (the same port as HTTPS) if your client offers it (often labeled 'TCP port 443' or 'Obfuscated'). WireGuard uses UDP only, so if WireGuard is failing on a restricted network, switch to OpenVPN TCP.
A full Windows restart clears stale VPN adapter state, driver issues, and in-memory routing table conflicts that can accumulate after sleep/wake cycles. After restarting, also restart your router by unplugging it for 30 seconds — this clears any connection-state entries the router may have cached for the previous failed VPN session.
Enable hotspot on your phone and connect your Windows PC to it via WiFi. Attempt the VPN connection. If it works immediately on the hotspot but not on your regular network, the issue is specific to that network (your home router, your ISP, or a public WiFi restriction) rather than the VPN client or Windows. Contact your router's admin settings or switch VPN protocol to TCP/443 to work around network-side blocking.
Describe your VPN provider, the error message you see, and which network you're on — our AI can walk you through a targeted fix.
Tell our AI your VPN client, Windows version, and what error message appears — it'll give you a targeted fix for your specific setup.
Start Free Diagnostic Chat →