How to Check Firewall Settings on Windows
In this article
To check your firewall settings on Windows, open Windows Security from the Start menu, go to Firewall & network protection, and review the status for each network profile. You can also use the classic Windows Defender Firewall control panel for more detailed rules. The exact labels can vary slightly by Windows version, but the core steps are the same.
What You'll Need
- A Windows PC (Windows 10 or Windows 11 recommended).
- Administrator access to your PC (needed to change settings, but not to view them).
Step-by-Step
Method 1: Using Windows Security (Recommended)
- Click the Start button (Windows icon) on your taskbar.
- Type Windows Security in the search box and press Enter. The app opens.
- In the left sidebar, click Firewall & network protection. You'll see a list of network profiles: Domain network, Private network, and Public network.
- Click on a profile (e.g., Private network) to see its status. If the firewall is on, it will say On under Windows Defender Firewall. If it's off, you'll see Off.
- To turn it on or off, click the toggle switch. If prompted by User Account Control, click Yes to allow the change.
- Back on the main firewall page, click Allow an app through firewall to see which apps are allowed or blocked. This opens a list of apps and services with checkboxes for Private and Public networks.
- To add a new app, click Change settings (requires admin), then Allow another app, browse to the executable, and add it.
Method 2: Using Control Panel (Classic View)
- Press Windows + R to open the Run dialog.
- Type control firewall.cpl and press Enter. The Windows Defender Firewall window opens.
- You'll see the status for each network profile (Private, Public, Domain). If the firewall is on, a green shield icon appears next to On.
- Click Turn Windows Defender Firewall on or off on the left to adjust settings per profile.
- Click Advanced settings to open the Windows Defender Firewall with Advanced Security console. Here you can view inbound and outbound rules, but be cautious—changes here can affect system connectivity.
Method 3: Using Command Prompt (Quick Check)
- Press Windows + X and select Terminal (Admin) or Command Prompt (Admin).
- Type
netsh advfirewall show allprofilesand press Enter. - Look for State under each profile. If it says ON, the firewall is enabled for that profile; if OFF, it's disabled.
Common Mistakes
- Turning off the firewall permanently to fix an app issue. This exposes your PC to threats. Instead, add an exception for the specific app.
- Confusing firewall status with antivirus status. Windows Security shows both, but they are separate features.
- Assuming the firewall is off because you see “No active firewall” on a third-party tool. Windows may disable its own firewall if another firewall is active.
- Changing advanced rules without understanding them—this can break internet access or app connectivity.
Tips
- Keep the firewall on for all network profiles, especially Public networks (like coffee shop Wi-Fi).
- If an app needs to communicate, use Allow an app through firewall instead of disabling the firewall. Only allow apps you trust.
- Use the netsh command for a quick, scriptable check—great for IT pros.
- Regularly review the allowed apps list to remove any you no longer use.
- If you use a third-party firewall, check its own interface; Windows Firewall may be disabled automatically.
Troubleshooting
If you can't open Windows Security
Try restarting your PC. If that doesn't work, run the Windows Security app from the Start menu again. If it still fails, open Settings > Apps > Windows Security and click Advanced options > Repair or Reset.
If the firewall won't turn on
First, restart your PC. Then check if a third-party security suite is installed—it may have disabled Windows Firewall. Uninstall or disable that suite temporarily. Also, run the Windows Security app and click Restore settings if available.
If you see “Firewall settings are being managed by vendor application”
This means another security program controls the firewall. Open that program's interface to change settings, or uninstall it to return control to Windows.
If a specific app is blocked
Make sure you've added it to the allowed list. Go to Allow an app through firewall, click Change settings, then check the box for your app on the appropriate network type. If the app isn't listed, click Allow another app and browse to its .exe file.
If the firewall blocks your internet after a change
Go back to Firewall & network protection and click Restore firewalls to default (under Restore defaults). This resets all rules to the original Windows settings. You'll need admin rights.
Frequently Asked Questions
How do I know if my firewall is blocking a port?
Open the Advanced Security console (from the Control Panel method) and look under Inbound Rules or Outbound Rules. Check if a rule explicitly blocks the port number. You can also use the command netstat -an to see if a port is listening, but that doesn't directly show firewall blocks.
Does Windows Firewall block incoming or outgoing traffic by default?
By default, Windows Firewall blocks incoming connections unless they match an allow rule. Outgoing connections are generally allowed unless a rule blocks them.
Can I check firewall settings without admin rights?
Yes, you can view the status and allowed apps without admin rights. But to change settings, you'll need administrator privileges.
Is it safe to turn off the firewall temporarily?
Only if you're troubleshooting and you re-enable it immediately after. While it's off, your PC is vulnerable to network attacks. Never leave it off permanently.
Why does my firewall show “Off” for Public network but “On” for Private?
That's normal—Windows allows different settings per network type. You can turn it on for Public if you want more protection.
How do I check firewall settings on Windows 7 or 8?
Open Control Panel > System and Security > Windows Firewall. The steps are similar, but the interface is older. The netsh command also works.