TechBuzzPro

No Man's Sky WebSocket Error on PC: Fix Guide

· 6 min read · Windows & PC

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

The "error creating WebSockets" message in No Man's Sky on PC usually means the game cannot open the local network connection it uses for multiplayer and discovery services, and the fix is almost always on your side: restart the game and Steam, check that Windows isn't blocking the connection, and make sure your network isn't filtering it. In most cases a full restart of the game, Steam and your router clears it, and if it doesn't, the steps below walk through the settings and checks that actually matter. You do not need to reinstall the game first, and you should not start deleting save files.

What You'll Need

  • A Windows PC with No Man's Sky installed through Steam (the steps below are for the Steam version; the Microsoft Store version has the same network requirements but different folder locations).
  • Your router's admin login, in case you need to check firewall or port settings.
  • About 15 minutes and the ability to restart the PC at least once.
  • No mods enabled while you troubleshoot — mods that touch networking or the game's data files can cause this error and should be removed temporarily.

Step-by-Step

  1. Close the game completely. Use Alt+F4 or the in-game quit option, then open Task Manager (Ctrl+Shift+Esc), find any No Man's Sky process still listed, and end it. A background process holding the old connection is the most common reason the error persists after a restart.
  2. Restart Steam. Click Steam in the top-left menu and choose Exit, then reopen Steam and launch the game again. This refreshes Steam's connection to its own servers, which the game relies on for multiplayer sessions.
  3. Restart your router and modem. Unplug both, wait about 30 seconds, plug the modem back in first, wait for its lights to settle, then plug in the router. This clears stale NAT entries that can block the WebSocket handshake.
  4. Check Windows Defender Firewall. Open Settings > Privacy & security > Windows Security > Firewall & network protection, then click "Allow an app through firewall." Make sure No Man's Sky and Steam have both Private and Public boxes ticked. If the game isn't listed, click "Change settings" and then "Allow another app" to add it from your Steam library folder.
  5. Confirm your network is set to Private. In Settings > Network & internet, click your active connection and set the network profile to Private. Public profile mode applies stricter firewall rules that can block the game's outbound connections.
  6. Disable any VPN or proxy temporarily. If you use a VPN, close it fully (not just disconnect) and relaunch the game. VPNs and proxy tools can break the WebSocket connection because the game expects a direct route to its servers.
  7. Flush your DNS cache. Open Command Prompt as administrator (search "cmd" in the Start menu, right-click, Run as administrator) and type ipconfig /flushdns, then press Enter. Restart the game afterward.
  8. Verify the game files in Steam. Right-click No Man's Sky in your Steam library, choose Properties > Installed Files > Verify integrity of game files. This replaces any corrupted networking files without touching your saves.
  9. Test with a wired connection. If you're on Wi-Fi, plug in an Ethernet cable for one session. If the error disappears, the problem is your Wi-Fi signal or adapter, not the game.
  10. Check the game's server status. Visit the official No Man's Sky status page or the game's social channels. If the servers are down for maintenance, the WebSocket error is expected and no local fix will help — wait and try again later.

Common Mistakes

  • Deleting save files too early. The WebSocket error is a connection problem, not a save corruption problem. Back up your save folder before doing anything drastic, and only consider a save reset as a last resort after official support advises it.
  • Reinstalling the game first. A reinstall takes a long time and rarely fixes a WebSocket error, because the problem is almost always the network path, the firewall, or a background process — not the game files.
  • Leaving mods enabled. Even cosmetic mods can change how the game loads its networking layer. Disable all mods while troubleshooting and re-enable them one at a time afterward.
  • Assuming it's a permanent ban or account issue. The WebSocket error is a connection failure message, not a ban notice. If your account were restricted, you would see a different, specific message.
  • Ignoring a second PC on the same network. If another device is running the game or a torrent client, it can saturate the connection or cause NAT conflicts. Test with other devices idle.

Tips

  • Launch the game directly from Steam rather than a desktop shortcut, so Steam's overlay and services are fully initialized.
  • If you use a third-party antivirus, add the No Man's Sky executable and the Steam folder to its exclusions list. Some suites block WebSocket traffic by default.
  • Keep Windows and your network adapter drivers updated through Windows Update and your PC manufacturer's support page — outdated drivers can drop the connection mid-handshake.
  • If you play through a mobile hotspot, expect this error more often; carrier-grade NAT frequently blocks the connection the game needs.
  • Note the exact error text and when it appears (at launch, when joining a friend, or when opening the discovery menu) — that detail helps if you need to contact official support.

Troubleshooting

If the steps above did not clear the error, work through these in order. First, try a different network entirely — tether to your phone's hotspot for one session. If the game connects there, the issue is your home router or ISP, and you can focus on router settings rather than the PC. Second, check whether your router has a setting labeled "SIP ALG," "WebSocket filtering," or similar under its firewall or security section; disabling it has resolved this error for some players, though the exact label varies by router brand. Third, create a manual port forwarding rule for the game's required ports if your router supports it — the current port list is published on the game's official support pages, and you should use those numbers rather than any list copied from a forum. Fourth, run the game as administrator once (right-click the executable, Run as administrator) to rule out a permissions problem. Finally, if nothing works, contact official No Man's Sky support with your error text, your PC specs, and the steps you've tried; do not download unofficial "fix" tools or patches from third-party sites.

Frequently Asked Questions

Does this error mean my account is banned?

No. The WebSocket error is a connection failure between the game and its online services. A ban or restriction would show a different, specific message, so treat this as a network problem first.

Will reinstalling No Man's Sky fix it?

Usually not. The error comes from the network path, firewall rules, or a background process, so a reinstall rarely helps. Verify the game files in Steam instead — it's faster and safer for your saves.

Can mods cause the WebSocket error?

Yes. Mods that change game data or networking can trigger it. Disable all mods, test the game, then re-enable them one at a time to find the culprit.

Why does the error only appear when I join a friend?

That points to a NAT or firewall issue between you and the host. Restart your router, confirm your network is set to Private in Windows, and make sure your firewall allows the game on both Private and Public profiles.

Is the Microsoft Store version fixed the same way?

The network checks are the same, but file locations and firewall entries differ. Use the Microsoft Store's repair or reset option for the app instead of Steam's verify files, and add the game through Windows Security the same way.

Should I use a VPN to fix it?

No — a VPN usually makes it worse by adding another hop that can block the connection. If you already use one, turn it off completely while you troubleshoot.