SS Safe Surf Lab
vpnwindowserror 868

VPN 868 Error: What It Means and How to Fix It on Windows

VPN error 868 means Windows couldn't resolve your VPN server's name. Learn the likely causes and the step-by-step fixes for DNS, server address and firewall issues.

SS Safe Surf Lab team · · 5 min read · 6 sources
Churchill Club Top 10 Tech Tech Trends Debate 2013 — I chose Deep Learning / Machine Learning
Photo: jurvetson (CC BY 2.0) via Openverse

VPN error 868 means Windows couldn’t find your VPN server: the full message reads “The remote connection was not made because the name of the remote access server did not resolve.” In practice it’s almost always a wrong or outdated server address, a DNS problem on your network, or security software blocking the connection, and you can usually fix it in a few minutes by checking those three things in order.

Below we explain what the error actually means, then walk through the fixes from quickest to most involved. The steps apply to Windows 10 and Windows 11 as of October 2026.

What error 868 actually means

Every VPN connection starts with a lookup. Your computer takes the server name you were given (something like vpn.example.com) and asks a DNS server for its IP address. Error 868 is Windows’ Remote Access (RAS) error for when that lookup fails.

A responder in the Microsoft Q&A thread on error 868 sums it up: the code indicates the name of the remote access server did not resolve, so the first question is whether you can resolve the VPN server name to an IP address at all.

VyprVPN’s support team describes it more broadly as a connection failure that can occur with PPTP, L2TP and IKEv2, caused either by a configuration error or by something blocking access to the VPN servers. So while DNS is the textbook cause, firewalls and antivirus tools are worth checking too.

One detail that confuses people: some troubleshooting sites, such as AnyViewer, report that Windows 7 showed this message with the code 868, while newer Windows versions may show only the text. If you see the “did not resolve” wording without a number, this guide still applies.

Common causes at a glance

CauseTypical signFirst thing to try
Wrong or changed server addressError appears on every attempt, on every networkRe-check the server name in your VPN settings
DNS problem on your networkWorks on another network (e.g. phone hotspot)Flush DNS, try the server’s IP address
Firewall or antivirus blockingStarted after a security software updateTest with it briefly disabled, then add an exception
Outdated VPN app or settingsProvider app shows the error after an updateUpdate the app, reset Winsock
Intermittent network or server issueFails sometimes, works on retryRetry, test another network, contact your provider

How to fix VPN error 868

Work through these in order and test the VPN after each one.

1. Check the server address

A typo or an outdated server name is the simplest explanation, and it’s easy to miss.

  1. Open Settings > Network & internet > VPN.
  2. Select your VPN connection and choose Advanced options (or Edit).
  3. Compare Server name or address character by character with what your provider or IT department gave you.
  4. If your organization recently changed VPN servers, ask for the current address.

If you use a provider’s own app rather than the built-in Windows VPN, make sure you’ve picked a server from the app’s list rather than typing one in.

2. Confirm the name resolves

Because 868 is a name-resolution failure, it helps to test that directly.

  1. Open Command Prompt.
  2. Type nslookup followed by a space and your VPN server name, then press Enter.
  3. If you get back an IP address, DNS is working for that name and the problem is more likely firewall or server-side.
  4. If you get an error such as “Non-existent domain” or a timeout, the problem is DNS or the server name itself.

3. Flush DNS and reset Winsock

VyprVPN’s support article recommends clearing the DNS cache and resetting Windows’ network stack. This clears out stale or corrupted lookup results.

  1. Search for cmd, right-click Command Prompt and choose Run as administrator.
  2. Run ipconfig /flushdns.
  3. Run netsh winsock reset catalog.
  4. Restart your computer and try the VPN again.

4. Try the server’s IP address instead of its name

If DNS on your current network is the problem, you can bypass the lookup. A long-standing suggestion in Microsoft’s Q&A threads is to enter the VPN server’s IP address instead of its domain name in the connection properties.

  1. Get the server’s IP address from your VPN provider or IT administrator (or from a working nslookup on another network).
  2. Edit the VPN connection as in step 1 and replace the server name with the IP address.
  3. Save and connect.

A caveat: some providers and corporate setups rotate IP addresses or rely on the name for certificate checks, so this may not work everywhere. Treat it as a test, and ask your provider before making it permanent.

5. Try a different network or DNS server

Microsoft Q&A responders have pointed out that some networks’ DNS servers fail to return the correct answer for VPN server names, for example on hotel, public or restrictive networks. To check:

  1. Connect your PC to a different network, such as your phone’s hotspot, and try the VPN.
  2. If it works there, the original network’s DNS is the likely culprit. Restarting your router is a reasonable next step at home, and several guides, including VPNCentral’s, also suggest changing the DNS servers your PC uses.
  3. On a work, school or hotel network, the network may deliberately block VPN traffic, and only the network’s administrator can change that.

If you have a web proxy configured in Windows, try turning it off under Settings > Network & internet > Proxy and connecting again.

6. Check your firewall and antivirus

Both VyprVPN and Microsoft Q&A responders list security software as a possible cause.

  1. Temporarily disable your third-party firewall or antivirus.
  2. Try the VPN.
  3. If it connects, turn your protection back on immediately.
  4. Add your VPN app or connection to the security software’s allowed list or exceptions, following that product’s official instructions.

Don’t leave your firewall or antivirus switched off as a “fix.”

7. Update your VPN app

If you use a provider’s app, VyprVPN’s guidance is to make sure you’re on the latest version. Download updates only from your provider’s official website or your device’s official app store.

When the error keeps coming back

Not every case has a neat answer. In one Microsoft Q&A thread, a user reported error 868 even with the server’s IP address hard-coded, and noted that retrying a few seconds later mostly succeeded. That pattern doesn’t fit a simple DNS misconfiguration, and the thread doesn’t include a confirmed fix.

If you’ve worked through every step above and still see the error:

  • Note when it happens. Specific networks, times of day or only after sleep are useful clues.
  • Contact your VPN provider’s support or, for a work VPN, your IT department. Give them the exact error text and what you’ve already tried.
  • Ask whether the server is having problems. If the server name was retired or the service is down, nothing on your PC will fix it.

Bottom line

Error 868 is Windows telling you it couldn’t find the VPN server. Check the server address, flush DNS, try another network, and rule out your firewall: one of those resolves most cases. If none do, the problem is likely on the network or server side, and your provider or administrator is the right next stop.

Frequently asked questions

Does VPN error 868 mean my VPN subscription or account is the problem? +

Usually not. Error 868 happens before your login is even checked: Windows couldn't turn the VPN server's name into an IP address, or something blocked the connection. Account problems normally show up as authentication errors instead.

Why do I see the 868 message without an error code on Windows 10 or 11? +

Some troubleshooting sites report that newer Windows versions show the text 'The remote connection was not made because the name of the remote access server did not resolve' without the number. The cause and the fixes are the same either way.

I entered the server's IP address and still get error 868. What now? +

Users on Microsoft Q&A have reported this too, sometimes with the connection succeeding on a retry a few seconds later. At that point check firewall or antivirus software, try another network, and contact your VPN provider or IT administrator, since the cause may be on the network path or server side.

Is it safe to turn off my firewall to fix error 868? +

Only briefly, as a test. If the VPN connects with protection off, turn it straight back on and add an exception for your VPN app or connection instead of leaving the firewall or antivirus disabled.

Sources

  1. What is Error 868? (VyprVPN Support) (support.vyprvpn.com)
  2. VPN Error 868 the name of the remote access server does not resolve - Microsoft Q&A (learn.microsoft.com)
  3. VPN error 868 even when using fixed IP - Microsoft Q&A (learn.microsoft.com)
  4. vpn connection error 868 - Microsoft Q&A (learn.microsoft.com)
  5. How to Fix: The Name of the Remote Access Server Did Not Resolve (AnyViewer) (anyviewer.com)
  6. How To Fix Error VPN 868: A Simple Step-by-Step Guide (VPNCentral) (vpncentral.com)
About this guide. Researched and drafted with AI assistance from the sources above, then checked against our editorial rules. It reflects what was publicly known on October 30, 2026; details can change, so confirm with the official source before acting on it. How we work →

Our reviews

In-depth reviews from Safe Surf Lab that go with this topic.

Keep reading