How to Fix Windows Firewall Blocking Apps in Windows 11
The Problem
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.
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 → Privacy & security → Windows Security → Firewall & network protection.
- Click Allow an app through firewall.
- Click Change settings → Allow another app → 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 → Network & internet → 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 → Network & internet → Advanced network settings → 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 → New Rule → 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 → Privacy & security → Windows Security → 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.
Related guides
How to Fix Mobile Hotspot Not Working in Windows 11
Can't turn on mobile hotspot, or devices won't connect? Fix adapter sharing, metered data, firewall, and driver issues for Windows 11 hotspot.
How to Fix Ethernet Not Working in Windows 11
Wired internet dead but Wi-Fi works? Check the cable and link lights, reset the adapter, reinstall Ethernet drivers, and fix DHCP on Windows 11.
How to Fix Windows Hello (Face/Fingerprint) Not Working
PIN works but face or fingerprint won't enroll or sign in? Update drivers, reset Hello, check BIOS TPM, and fix camera privacy settings on Windows 11.
How to Spot and Remove a Fake Antivirus or Scareware
Browser locked by a virus warning? Remove fake antivirus pop-ups and tech-support scareware on Windows 11 without calling the number on screen.
How to Fix Windows Defender Not Working or Turned Off
Windows Security shows threats need attention but Defender won't turn on—fix group policy blocks, stale services, and malware that disables antivirus.