Firewall Blocking Your Game? Here's the Real Fix
Firewall blocks games or apps when Windows Defender or third-party firewall flags them. Quick fix: allow the app in Windows Defender Firewall or check your antivirus.
Windows Defender Firewall Blocking Your Game
This is the most common reason. Windows Defender Firewall in Windows 10 and 11 sometimes blocks games or apps from connecting to the internet. Happens after a Windows update or when you install a game from a new publisher. Had a client last month whose Steam games just stopped working after a patch. The firewall flagged them as unknown.
The fix is simple. You let the app through the firewall. Don't mess with advanced rules unless you have to.
Step-by-step fix:
- Open Windows Security. Hit the Start button, type "Windows Security", and open it.
- Go to Firewall & network protection.
- Click Allow an app through firewall (it's a link near the bottom).
- Click Change settings (you need admin rights).
- Find your game or app in the list. If it's not there, click Allow another app and browse to the .exe file. For games, that's usually in Program Files (x86) > Steam or Epic Games or wherever you installed it.
- Check both Private and Public boxes. Games often need both to work on home networks and when you're on public Wi-Fi.
- Click OK and restart the game.
If the game still can't connect, go back and remove the entry, then add it again. Sometimes the firewall holds onto old settings. Also check if the game has a separate launcher (like Battle.net or Ubisoft Connect) — add that too.
Antivirus or Third-Party Firewall Blocking the Connection
Norton, McAfee, Bitdefender, Kaspersky — these love to block games. They think game traffic looks suspicious because it's often peer-to-peer or uses unusual ports. Had a client running Bitdefender Total Security who couldn't connect to Call of Duty: Warzone. Bitdefender was blocking the game's updater in the background.
Fix depends on the software, but here's the general approach:
- Open your antivirus or firewall application.
- Look for Firewall settings, Application control, or Permissions. In Norton, it's under Settings > Firewall > Application Control.
- Find your game in the list. If it's not there, you need to add it manually — usually by browsing to the .exe file.
- Change the rule to Allow or Full access. Don't set it to "ask" because it'll keep blocking until you approve every time.
- Restart the game.
If you still can't connect, temporarily disable the firewall (not recommended full-time) just to check if it's the problem. If the game works with firewall off, you know it's the culprit. Then dig into the settings.
One more thing: some antivirus apps have a "Gaming Mode" that's supposed to help, but in my experience it often doesn't add the right exceptions. Do it manually.
Router Firewall or Port Forwarding Blocks
Less common for casual games, but some games — especially older ones or ones that want to host multiplayer matches — need specific ports open. Think Minecraft servers, Ark: Survival Evolved, or MMOs like Final Fantasy XIV. The firewall on your router can block those ports.
You need to forward ports for the game. How to find which ports? Google "[game name] port forwarding" or check the game's manual. For example, Minecraft Java Edition uses port 25565 by default.
How to forward ports (basic steps):
- Find your router's IP address. Open Command Prompt, type
ipconfig, and look for Default Gateway. It's usually something like 192.168.1.1 or 192.168.0.1. - Type that IP into a web browser and log into your router (username and password are often on a sticker on the router or default to admin/admin).
- Find Port Forwarding or Virtual Servers in the settings. This varies by router brand. On Netgear, it's under Advanced > Port Forwarding.
- Add a rule: give it a name, put your computer's local IP address (you got this from ipconfig earlier), enter the port number (both TCP and UDP if unsure), and save.
- Restart the game.
If port forwarding sounds too technical, try UPnP. Some games use it to automatically open ports. Check if UPnP is enabled in your router settings. It's not as secure, but for gaming on a home network, it works. Turn it off when you're not gaming.
Quick-Reference Summary Table
| Cause | Typical Symptom | Fix |
|---|---|---|
| Windows Defender Firewall | Game starts but says "Cannot connect" or "Network error" | Add game .exe to allowed apps in Windows Firewall |
| Antivirus or third-party firewall | Game won't update or connect, especially after install | Add exception in antivirus settings for the game's .exe |
| Router firewall or port blocking | Game works on local network but not online, or can't host multiplayer | Forward game's ports or enable UPnP on router |
That's it. Start with Windows Defender Firewall — it's the most common. Then check your antivirus. If you're running an old game or hosting a server, think about port forwarding. Most games work fine once you let them through the firewall.
Was this solution helpful?