There’s no denying that Windows Firewall is added in Windows OS only to benefit its users. The built-in utility is developed for the greater good of users, to help them stay safe from online & offline vulnerabilities. But sometimes, the so-many beneficial services can also start to respond as a cruse.
Many users find it hard to install a new program or port because of this facility. So it’s for the benefit of users to “Check if a firewall is blocking a port in windows 10”. Here, I’ll be presenting a guide to help readers Check if Windows Firewall is blocking a port or program. There are several methods to get the job done, let’s start with the easiest one.
2 Ways to Check if Windows Firewall is blocking a port
Use Command Prompt
- Press Windows + S and type cmd in the search bar.
- Select Run as administrator from the presented search results.
- Once command prompt is launched, execute the following command in it:
- netsh firewall show state
- The provided results will show you what ports are blocked and unblocked by the Windows Firewall.
Open Windows Firewall Log File
- Launch Control Panel from the Cortana search bar.
- Navigate to System and Security >> Administrative Tools
- Locate and open Windows Defender Firewall with Advanced Security
- Select Action from the menu bar and click on Properties
- Click on a Domain Profile of your choice.
- Under Logging tab, click on Customize
- Click on the Ok button and remember the path of the log file which will be written as follows:
- Now go to the presented file path and open pfirewall.log file from there.
Check if Windows Firewall is blocking a program
- Open Control Panel on your computer.
- This time, go to System and Security >> Windows Defender Firewall
- Click on Allow an app or feature through Windows Defender Firewall (available on the left-side menu)
- Locate and check the status of your desired program.
- There are two possibilities:
- If it’s checked, it’s allowed by the firewall
- If it’s unchecked, the firewall is blocking its installation.
That’s all, keep visiting WindowsBoy for more.