- Home
- Guides
- Network & Internet
- How to Fix Windows Firewall Blocking Apps in Windows 11
How to Fix Windows Firewall Blocking Apps in Windows 11
App blocked by Windows Defender Firewall, can't join a game server, or file sharing fails? Add allow rules, reset firewall defaults, and fix network profile.
- 7 fixes, easiest first
On this page · 7 steps
Symptoms
- Pop-up: Windows Defender Firewall has blocked some features of this app.
- Game launches but multiplayer or server browser is empty.
- Network discovery off: other PCs don't appear in File Explorer.
The Fix: Step-by-Step
Step 1: Allow the App When Windows Prompts
- When the firewall dialog appears, click Allow access.
- Check both Private and Public if you need the app on home and travel networks, or Private only for home file sharing (safer).
- If you clicked Cancel earlier, remove the block in Step 2.
Step 2: Add the App Through Settings
- Settings then Privacy & security then Windows Security then Firewall & network protection.
- Click Allow an app through firewall.
- Click Change settings then Allow another app then Browse → select the
.exe(e.g.steam.exe,javaw.exe). - Check Private (and Public only if needed) → OK.
Step 3: Set the Network to Private (Home Networks)
Public profile blocks most inbound sharing.
- Settings then Network & internet then Wi-Fi or Ethernet → click your connected network.
- Set Network profile type to Private.
- Retry the app or share files between PCs.
Step 4: Enable Network Discovery (File Sharing)
- Settings then Network & internet then Advanced network settings then Advanced sharing settings (or search Advanced sharing settings in Start).
- Under Private profile: turn on Network discovery and File and printer sharing.
- Allow through firewall when prompted.
Step 5: Create an Inbound Rule (Advanced)
When the app list does not include your program:
- Press
Win + R, typewf.msc, Enter (Windows Defender Firewall with Advanced Security). - Inbound Rules then New Rule then Program → browse to the
.exe→ Allow the connection. - Apply to Domain, Private, Public as needed → name the rule (e.g. "Allow MyGame").
- Repeat for the game's anti-cheat or launcher
.exeif multiplayer still fails.
Step 6: Reset Firewall to Default (Last Resort Before Disabling)
- Settings then Privacy & security then Windows Security then Firewall & network protection.
- Click Restore firewalls to default (wording varies): confirm.
- Re-allow only the apps you trust using Steps 2–5.
Step 7: Confirm Third-Party Antivirus Is Not Doubling Up
Norton, McAfee, and Avast add their own firewall layers.
- Open the third-party suite → firewall section → add the same allow rules.
- Or uninstall the third-party firewall component and rely on Windows Defender Firewall to avoid conflicting rules.
What Not to Do
- Do not turn off Windows Defender Firewall permanently: brief testing only, then re-enable.
- Do not open all ports on the router for a game without checking the game's official port list first.
Still Not Working?
- Steam or game still can't connect? Allow Steam Client Bootstrapper and the game
.exe; also see Steam not opening. - VPN active? VPN adapters often use Public profile: split tunnel or add firewall rules for the VPN interface in
wf.msc. - Windows Security app will not open to check the firewall? See fix Windows Security not opening.
Why this happens
A program shows Windows Defender Firewall has blocked some features, multiplayer games can't find lobbies, or another PC on your network can't see shared folders. Windows 11 blocks inbound connections by default on Public networks: wrong network profile or missing allow rules are the usual fix, not disabling the firewall entirely.
No internet at all? Start with DNS server not responding. Mobile hotspot clients get no internet? See mobile hotspot not working.