Users can configure the Windows Firewall settings as per their need to block or open ports in Windows 10 and other versions. However, at times the Firewall may block ports or programs accidentally or due to misconfigured settings.

Why is Windows Firewall not allowing ports to access the Internet?

If this issue occurs, the port may be blocked, but luckily, there’s a way to open firewall ports in Windows, and it’s easier than you think. Sometimes, your configuration might not be correct, causing the Windows Firewall rule to block a connection. A few users reported that Windows Firewall is disabled, but it’s still blocking apps, and this is likely caused by your policy settings, so you’ll need to adjust them.

How do I check if the Firewall is blocking a port?

1. Check your Firewall Settings

The best way to check whether your Windows Firewall is blocking a port is to check your Firewall Settings. This can be done via your PC’s built-in settings in just a few clicks.

  1. Press the Windows key + R to open the Run dialog box.

  2. Type control and press OK to open Control Panel.

  3. Click on System and Security.

  4. Scroll down and open Administrative Tools.

  5. In the Administrative Tools window, open Windows Defender Firewall with Advanced Security.

  6. Click on Actions and select Properties.

  7. Now select your preferred Profile (Domain, Private, Public).

  8. In the Logging section, click on the Customize button.

  9. Click on the drop-down menu for Log dropped packets: and select Yes.

  10. Take note of the pfirewall.log path in the Name section.

  11. Click OK to save the changes.

  12. Open File Explorer and navigate the following path to access the log files:C:\WINDOWS\System32\LogFiles\Firewall

  13. Click on the pfirewall.log file and check for any blocked ports. In case you can’t access the folder, you might have to change the ownership in order to access files.

2. Check for Blocked Ports using Command Prompt

How to check if Windows Firewall is blocking a program?

In the Customize Settings window, click the circle(s) next to Turn off Windows Defender Firewall for public networks, private networks, or both. That’s about it for this article on checking if the Firewall is blocking a port or a program. Make sure you follow the solutions thoroughly and see what works for you. Also, feel free to send us feedback in the comment section below.

Name * Email * Commenting as . Not you? Save information for future comments
Comment

Δ