How to Fix Windows Firewall Blocking Your Applications
Published 2026-10-16 · Marion Remote Fix
A program on your computer cannot connect to the internet or your local network, and Windows Firewall is blocking it — the program shows a connection error, a game cannot reach its servers, a work application cannot connect to your company's network, or you see a Windows Security Alert asking to allow the program through the firewall. Windows Firewall blocks programs by default when it does not recognize them, and sometimes blocks legitimate applications after updates. Here is how to diagnose and fix it.
Check if the firewall is causing the problem
Before changing firewall settings, confirm the firewall is actually the cause:
- Temporarily disable Windows Firewall: Settings → Privacy and security → Windows Security → Firewall and network protection → click your active network (Private or Public) → turn off Microsoft Defender Firewall
- Test the application. If it connects successfully with the firewall off, the firewall is the cause. Turn the firewall back on immediately and create a proper rule (see below) instead of leaving it disabled
- If the application still cannot connect with the firewall off, the problem is not the firewall — check your internet connection, DNS settings, proxy settings, or whether the application's server is down
Allow an app through the firewall
The simplest way to unblock a program is through the allowed apps list:
- Settings → Privacy and security → Windows Security → Firewall and network protection → Allow an app through firewall
- Click "Change settings" (requires administrator permission)
- Scroll through the list and find your application. Check the boxes for Private and/or Public networks as appropriate:
- Private: your home or work network. Check this for most applications
- Public: networks like coffee shops, airports, hotels. Only check this if the application needs to work on public Wi-Fi
- If the application is not in the list, click "Allow another app" → Browse → navigate to the application's .exe file → Add. Common locations:
C:\Program Files\,C:\Program Files (x86)\, or%APPDATA%\ - Click OK to save
Create an inbound firewall rule
For more precise control, create a specific firewall rule. This is useful when the allowed apps list does not fix the issue or when you need to allow a specific port:
- Search "Windows Defender Firewall with Advanced Security" in the Start menu → open it
- Click Inbound Rules in the left panel → New Rule in the right panel
- Select Program → Next → browse to the application's .exe file → Next
- Select Allow the connection → Next
- Choose which network profiles the rule applies to (Domain, Private, Public — check all that apply) → Next
- Give the rule a name (e.g., "Allow MyApp") → Finish
- The rule is active immediately. Test the application
Create an outbound firewall rule
If the application can receive connections but cannot send data out, you may need an outbound rule:
- In Windows Defender Firewall with Advanced Security, click Outbound Rules → New Rule
- Follow the same steps as inbound: Program → browse to .exe → Allow the connection → select profiles → name it
- By default, Windows Firewall allows all outbound connections. If outbound is being blocked, either someone changed the default outbound policy (check: right-click "Windows Defender Firewall with Advanced Security" → Properties → check each profile tab → Outbound connections should be "Allow"), or a specific outbound block rule exists. Check the outbound rules list for any rules blocking the application
Allow a specific port
Some applications need specific network ports open rather than a program-level exception:
- In Windows Defender Firewall with Advanced Security → Inbound Rules → New Rule
- Select Port → Next
- Choose TCP or UDP (check the application's documentation for which protocol it uses) → enter the specific port number or range (e.g., 25565 for a Minecraft server, 3389 for Remote Desktop) → Next
- Allow the connection → select profiles → name the rule
- Common ports that may need to be opened: 3389 (Remote Desktop), 443 (HTTPS if custom apps use it), 8080 (web servers), 25565 (Minecraft), 27015 (Steam game servers), 5060 (SIP/VoIP)
Fix the Windows Security Alert popup
When a program tries to listen for incoming connections for the first time, Windows shows a Security Alert asking if you want to allow it. If you clicked Block (or the dialog was dismissed), the program is now blocked:
- Go to Firewall and network protection → Allow an app through firewall
- Find the program in the list — it will be there but with its checkboxes unchecked. Check the appropriate boxes (Private, Public)
- If you do not see the program, check the Inbound Rules in Advanced Security for a rule with the program's name that has a red circle (blocked). Delete or disable that rule, then re-run the program to get the Security Alert again and click Allow
Fix firewall blocking after a Windows update
Windows updates can reset firewall rules or add new blocking rules:
- Check if the allowed apps list still has your program checked. Updates sometimes reset these settings
- In Advanced Security, look for recently created rules (sort by date or name) that may be blocking your application
- If you use a third-party firewall alongside Windows Firewall (some antivirus suites include their own firewall), the third-party firewall may have been updated with new blocking rules. Check its settings as well
Reset Windows Firewall to defaults
If the firewall rules are a mess and you want to start clean:
- Settings → Privacy and security → Windows Security → Firewall and network protection → Restore firewalls to default
- This removes all custom rules and restores the default Windows Firewall configuration. You will need to re-allow any programs that need exceptions
- After resetting, run each application that needs network access. Windows will prompt you with the Security Alert for each one — click Allow for applications you trust
Third-party firewall conflicts
If you have a third-party security suite (Norton, Kaspersky, Bitdefender, McAfee, ESET), it may have its own firewall that overrides or conflicts with Windows Firewall:
- Open your security suite's settings and look for its firewall or network protection section. The block may be in the third-party firewall, not Windows Firewall
- Some suites automatically disable Windows Firewall and replace it. In that case, changing Windows Firewall settings has no effect — you need to configure the third-party firewall instead
- Check the security suite's application control or program rules for your blocked application. Allow or create an exception for it
Remote firewall troubleshooting
If Windows Firewall is blocking your applications and the fixes above have not resolved it, Marion Remote Fix can diagnose the issue remotely — checking firewall rules, creating proper exceptions, resolving conflicts with third-party security software, and restoring network connectivity through a secure remote session.