How to Check if Firewall Is Blocking a Port or a Program? - MiniTool (2024)

  • Home
  • News
  • How to Check if Firewall Is Blocking a Port or a Program?

By Stella | Follow |Last Updated

Windows Firewall is a very useful tool that comes with your Windows system. It can help you find and block some suspected ports and programs that can be harmful to your computer. For some reason, you may want to know if your Firewall is blocking something. In this MiniTool post, we will show you how to check if Firewall is blocking a port.

Windows Firewall is a Windows built-in tool that can be used to filter network data transmission to and from on your Windows computer. It can also be used to block suspicious and harmful programs. At times, the Firewall may block some ports or programs accidentally.

When you encounter some issues like high ping in games, you can go to check whether the game is blocked by Firewall or whether Firewall is blocking a port.

But how to check if Firewall is blocking a port or a program? In this post, we will show you some guides on how to check if your Firewall is blocking something.

How to Check if a Port Is Blocked by Firewall?

You can check your Firewall blocks which ports by using Run or Command Prompt. Here are two guides:

Check Blocked Ports in Firewall via Run

1. Press Win+R to open Run.

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

3. Click Administrative Tools.

How to Check if Firewall Is Blocking a Port or a Program? - MiniTool (1)

4. Double click Windows Defender Firewall with Advanced Security to open it.

5. Go to Action > Properties.

How to Check if Firewall Is Blocking a Port or a Program? - MiniTool (2)

6. Click the Windows Defender Firewall Properties link.

How to Check if Firewall Is Blocking a Port or a Program? - MiniTool (3)

7. Switch to your preferred profile (here is Domain Profile in this example) and then click Customize in the Logging section.

How to Check if Firewall Is Blocking a Port or a Program? - MiniTool (4)

8. Open the dropdown menu for Log dropped packets and select Yes.

How to Check if Firewall Is Blocking a Port or a Program? - MiniTool (5)

9. Remember the path in the Name section. Or you can directly copy the path.

10. Click OK to save the change.

11. Open File Explorer and then go to that path. The path looks like %systemroot%system32LogFilesFirewall.

12. Open the log file which is named as log. Then, you can check for the blocked ports in the log file.

Check Blocked Ports in Firewall via Command Prompt

  1. Use Windows Search to search for cmd.
  2. Right-click the first result and then select Run as administrator.
  3. Type netsh firewall show state and press Enter.
  4. Then, you can see all the blocked and active ports in your Firewall.

How to Check if Firewall Is Blocking a Port or a Program? - MiniTool (6)

Then, how to see if your Firewall is blocking a program? We will introduce one method in the next part.

How to Check if Windows Firewall Is Blocking a Program?

You can check which program is blocked by your Windows Firewall in the tool itself. It is very simple to do this job:

1. Use Windows Search to search for Windows Firewall and then select Windows Defender Firewall from the search result.

2. Click Allow an app or feature through Windows Defender Firewall from the left list.

How to Check if Firewall Is Blocking a Port or a Program? - MiniTool (8)

3. In Allow applications, you can see the allowed programs are checked and the unchecked ones are blocked by Windows Firewall. If you want to unblock an application, you can click the Change settings button in the top-right side and then check your wanted application. After that, you can click the OK button on the bottom to save the change.

How to Check if Firewall Is Blocking a Port or a Program? - MiniTool (9)

Those are the methods on how to check if Firewall is blocking a port or a program. You can just use one way to help you out.

About The Author

How to Check if Firewall Is Blocking a Port or a Program? - MiniTool (10)

Position: Columnist

Stella has been working in MiniTool Software as an English Editor for more than 7 years. Her articles mainly cover the fields of data recovery including storage media data recovery and phone data recovery, YouTube videos download, partition management, and video conversions.

How to Check if Firewall Is Blocking a Port or a Program? - MiniTool (2024)

FAQs

How to Check if Firewall Is Blocking a Port or a Program? - MiniTool? ›

To see if your firewall is blocking a website, app, or port on Windows, go to Windows Firewall > Advanced Settings and check your Outbound rules. On a Mac, click the Apple icon > System Settings > Network > Firewall > Options to check your firewall settings.

How do you check if firewall is blocking a port or a program? ›

To see if your firewall is blocking a website, app, or port on Windows, go to Windows Firewall > Advanced Settings and check your Outbound rules. On a Mac, click the Apple icon > System Settings > Network > Firewall > Options to check your firewall settings.

How do I test my firewall ports? ›

If you would like to test ports on your computer, use the Windows command prompt and the CMD command netstat -ano. Windows will show you all currently existing network connections via open ports or open, listening ports that are currently not establishing a connection.

How do I allow a program through my firewall? ›

Click the Start button, then type Windows Firewall in the Search box. Click Windows Firewall, and then click Allow a program or feature through Windows Firewall. Click the Change settings button. If a User Account Control window appears, click Yes, or enter your user name and password, then click OK.

How to unblock a program in the firewall? ›

Windows 10
  1. Right-click the Windows Start button and select Control Panel.
  2. Click Windows Firewall.
  3. Click Advanced Settings.
  4. Click Inbound Rules, then New Rule.
  5. Select Program from the Rule Type window, then click Next. ...
  6. Click Browse below This program path to select the program executable file, then click Next.

How do I unblock a port in my firewall? ›

How to open a port on the firewall
  1. Click on Start then on Control Panel.
  2. Click on Windows Firewall and then click on Advanced Settings.
  3. Right click on Inbound Rules then on New Rule:
  4. Select Port and click on Next:
  5. Enter a specific local port (e.g. 8080) and click on Next:
  6. Click on Next:
  7. Name the rule and click on Finish:
Jun 16, 2023

How do I check my firewall port status? ›

Press the Windows key + R, then type "cmd.exe" and click OK. Enter "telnet + IP address or hostname + port number" (e.g., telnet www.example.com 1723 or telnet 10.17.xxx.xxx 5000) to run the telnet command in Command Prompt and test the TCP port status. If the port is open, only a cursor will show.

How do I check if port 443 is open? ›

Check if port 443 is open:

On Windows: open the Command Prompt on your Windows machine > type telnet <IP address or domain name> 443 and press Enter. If the command returns “Connected to <IP address or domain name>”, then port 443 is open.

How do I check my firewall? ›

  1. Step 1: Open the Control Panel. Hold down the Windows key ( ...
  2. Step 2: Open Windows Firewall Settings. In the Control Panel select "System and Security" ...
  3. Step 3: Enable the Firewall. ...
  4. Step One: Open the Settings Menu. ...
  5. Step Two: Access Windows Security. ...
  6. Step Three: Check Firewall Status.
Dec 8, 2022

How do I allow programs to bypass my firewall? ›

Add or remove an app from the list of allowed apps
  1. Select the Start menu, type Allow an app through Windows Firewall, and select it from the list of results.
  2. Select Change settings. ...
  3. To add an app, select the check box next to the app, or select Allow another app and enter the path for the app.

How do I allow a program to access the network? ›

Windows Firewall helps protect your computer by blocking this communication unless you specifically allow it. To allow a program to communicate through Windows Firewall, click the start button. Type firewall in the search box and then click Windows Firewall. Click allow a program or feature through Windows Firewall.

How do I restrict an app program or software using firewall? ›

Here is how to block a program in six simple steps.
  1. Open Windows Defender Firewall. ...
  2. Access Outbound Rules. ...
  3. Create new Outbound Rule. ...
  4. Select Program from the Rule Types. ...
  5. Block the connection. ...
  6. Set profiles. ...
  7. Name the rule.
Jun 2, 2023

How do I check if my firewall is blocking a program? ›

Use Windows Search to search for cmd. Right-click the first result and then select Run as administrator. Type netsh firewall show state and press Enter. Then, you can see all the blocked and active ports in your Firewall.

How do I disable the firewall for a specific program? ›

Steps to Block a Program in a Firewall
  1. Open the Settings for Windows Defender Firewall with Advanced Security. ...
  2. Select Inbound Rules or Outbound Rules. ...
  3. Create a New Rule. ...
  4. Select “Program” ...
  5. Block the Connection. ...
  6. Specify the Profiles. ...
  7. Assign the Rule a Name and Description.
Mar 20, 2023

How do I unblock a program? ›

Unblock the App Executable

To unblock an app on Windows: Locate and right-click on the app's executable and select Properties. In the Properties dialog, open the General tab. In the Secure section, check the Unblock option.

How do I check port status in Windows Firewall? ›

How to check for open ports on Windows
  1. Open the Command Prompt. ...
  2. Type “netstat -aon” and hit enter.
  3. Look for the port numbers in the LISTening state. ...
  4. If the port numbers aren't in the LISTening state, you'll need to open them manually.
Aug 17, 2022

How to check which ports are blocked by ISP? ›

The port checker is a tool you can use to check your external IP address and detect open and closed ports on your connection. This tool is useful for finding out if your port forwarding is setup correctly or if your server applications are being blocked by a firewall.

Will all ports open if firewall is off? ›

Does turning off Windows Firewall open all ports? Yes. But your modem/router where your internet comes in might be blocking them anyways. So turning off your windows firewall might not help.

What does a firewall check to prevent particular ports? ›

A firewall mainly checks for the Transport layer port numbers and Application layer headers to prevent particular ports and applications from receiving network packets into the organization.

Top Articles
Latest Posts
Article information

Author: Jerrold Considine

Last Updated:

Views: 5902

Rating: 4.8 / 5 (58 voted)

Reviews: 81% of readers found this page helpful

Author information

Name: Jerrold Considine

Birthday: 1993-11-03

Address: Suite 447 3463 Marybelle Circles, New Marlin, AL 20765

Phone: +5816749283868

Job: Sales Executive

Hobby: Air sports, Sand art, Electronics, LARPing, Baseball, Book restoration, Puzzles

Introduction: My name is Jerrold Considine, I am a combative, cheerful, encouraging, happy, enthusiastic, funny, kind person who loves writing and wants to share my knowledge and understanding with you.