The quickest way to fix a VPN that won’t connect is to work through the likely causes in order, starting with the fixes that take seconds and resolve the most cases, then moving to the more advanced ones. Work through the steps below in sequence.
Before you start, open the notifications or messages section of your VPN app, if it has one. It may already be telling you exactly what’s wrong.
1. Restart Your Device and Router
Start with the fix that resolves more failed connections than any other: restarting your hardware. Turn off your device and your router, wait 10 seconds, then switch them both back on. This clears most temporary network glitches.
While you’re at it, confirm your internet works without the VPN by opening a website with it switched off. If nothing loads, the problem is your connection, not the VPN. Check your ISP’s status page for outages in your area, or run a quick speed test to confirm your connection is stable enough to support a VPN.
If your connection is fine but still unreliable, resetting your network settings can help. Restart your router or modem, update its firmware, renew your IP address, or reset your network adapters.
2. Try a Different Server
The server you’re connecting to may be down, full, or under maintenance. Switching to another is one of the fastest fixes there is.
Open your app’s server list and choose a different server in the same location. If that still won’t connect, try a different VPN location entirely, in case the whole region is having problems.

CyberGhost’s server list, as shown in its Mac app.
3. Update the App
An outdated app is a common and easily missed cause of connection failures. Old versions fall out of step with the latest security updates and can simply refuse to connect.
Check for an update and install it. Most VPN services can update themselves automatically, so turn that option on to avoid the problem in future.
4. Change Your Protocol
The protocol your VPN uses to connect can be the sticking point. Some networks and countries block specific ones, OpenVPN included.
Open your settings and set the protocol to Automatic if it isn’t already. If that doesn’t work, try each option in turn, including the UDP and TCP variants, until one connects.
On a restricted network, such as at work, school, or in a censored country, your VPN’s obfuscation or Stealth mode is usually the most reliable choice.

ExpressVPN’s protocol selection preferences on Windows.
5. Disable Your Firewall and Antivirus to Test
Your firewall or antivirus can mistake a VPN connection for a threat and block it before it forms, usually because the app has been flagged as a security risk.
To check, switch both off for a moment and try connecting. If that’s the culprit, add your VPN to the program’s list of trusted or allowed apps, then switch your protection back on. Don’t leave your firewall and antivirus disabled.
6. Reset the VPN to Its Default Settings
If changing your server and protocol hasn’t worked, a misconfigured setting may be to blame. Look for a Restore Default Settings button on the app’s settings page and use it.
One setting is worth checking directly: if DNS leak protection is misbehaving, it can stop your device resolving addresses and block the connection. Turn it off, along with advanced features like multi-hop, trusted networks, and split tunneling, then try again.
If it still won’t connect, uninstall the app completely and reinstall it. This clears out any corrupted settings or files behind the problem.
7. Check for Blocked Ports
This is a more advanced fix, but worth trying if nothing above works. VPNs connect over specific ports, and your firewall, ISP, antivirus, or network administrator may be blocking the one yours uses.
Switch your VPN to a different port if it lets you. OpenVPN defaults to 1194 UDP; if that’s blocked, common alternatives include 500, 1701, and 4500.
Table showing which ports VPN protocols can use.
| VPN Protocol |
Ports to Try |
| OpenVPN UDP |
53, 80, 443, 1194, 1197, 1198, 2049, 2050, 8080, 9201 |
| OpenVPN TCP |
443, 1443, 80, 110 |
| WireGuard UDP |
53, 80, 443, 1194, 2049, 2050, 30587, 41893, 48574, 58237 |
If you’re comfortable with it, you can also open the necessary ports manually in your router or firewall settings. Your VPN service can tell you which ones it needs.
If you’ve worked through everything above, contact your VPN service directly. The best ones offer support over live chat or email and can spot issues on their end that you can’t see.
Give them as much detail as you can: your device and operating system, the protocol you’re using, and any error messages you’ve seen. The more they have to go on, the faster they’ll diagnose it.
9. Switch to a Better VPN
A VPN that repeatedly refuses to connect may simply not be good enough. Free and budget services often run on a handful of overcrowded servers with limited resources, and an unreliable connection is the first thing to suffer.
Of the 59 VPNs we’ve tested, the best ones connect in seconds, every time. If yours can’t manage that, it’s worth switching to one that can.