How to know if the Windows firewall is blocking a specific port or program

Having security software on our computers is essential to keep it running smoothly and prevent information from leaking or among any of the many varieties of malware. In this sense, one of the tools that we have available in Windows 10 is the Microsoft firewall. Its function is to protect us against external threats that enter our device through the network. Block connections that may be suspicious. In this article we are going to explain how to check which ports or programs the Windows firewall is blocking.

As we have mentioned, the function of the Windows firewall is to block those connections that may be a security problem. Now, as in many other cases, there may be failures. It is what is known as false positives. This software interprets that a certain program can be dangerous and blocks it, however, it could be the case of having a false positive, that is, a legitimate program that is blocked due to this policy, and therefore, could generate connectivity problems. or that we cannot directly use a specific program.

Therefore, we are going to explain how to know what programs or ports the Windows firewall is blocking. In this way, we will know if a program that does not work well may be because the Windows firewall is blocking it, and we will have to add some additional rule to make it the exception.

How to find out which ports the Windows firewall is blocking

To access we have to follow a series of steps. The first thing is to go to the Windows Control Panel. We go to Start and write Control Panel and enter.

Once here we click on System and security, which is the first option that appears. Later we give Administrative Tools, which is the penultimate option that will appear.

Done this we go to Windows Defender Firewall with advanced security. It is the last one on the list. In the menu above we give Action and Properties.

We will have to select the profile we want: public, private or domain. In Login, below, we click on Customize. In Register discarded packets, which comes in No (default) we mark it in Yes. We accept.

Now we go to the Windows File Explorer and we enter the path where it is saved in the log. This is what we saw in the previous step. In my case it is% systemroot% system32LogFilesFirewall. There we will see the text file that we can open. It’s the one that comes as pfirewall.log. Here the registry of all the ports that the Windows firewall is blocking will appear.

This log that we have available in the previous route, will allow us to know in detail everything that is happening internally in the Windows firewall. If we have any kind of connectivity problem, or when using an application, we will need to look at this log or record to verify that everything is working correctly.

How to see which applications the Windows firewall blocks

We have seen in the case of ports, but we can also see the applications that it blocks. For this we go back to System and security, but this time we enter Windows Defender Firewall, which is the second option.

Once inside we access Allow an application or a feature through Windows Defender Firewall, which appears on the left.

Here it shows us the list of all applications allowed and blocked in the Windows firewall. We can modify these parameters if we want to. This could happen in case we have problems with a certain program that we trust, but that the firewall blocks it because it considers it dangerous.

Why is it important to use a firewall

Having security tools is very important for all types of devices and operating systems. They protect us against possible threats that compromise computers and may put our privacy at risk. We have both free and paid programs and we can also configure different parameters to make them act correctly always with the aim of preserving security.

When we talk about firewall or firewall we refer to one of those programs that we can use to protect our systems and networks. It helps us to block dangerous connections, it allows us to close certain ports and limit the connection to certain applications that we have installed. All with the aim of maximizing network security.

Avoid unauthorized users

One of the main advantages of a firewall is to prevent unauthorized users from entering our network. It is essential to keep possible intruders that could put our security at risk and enter the devices that we have connected to that network at bay. We already know that there are many attacks that in one way or another could put our systems at risk. Using a firewall that blocks such attacks can help us ensure that our computers are not compromised at any time.

Limit access to the application network

We can also prevent certain applications from connecting to the Internet. Basically what the firewall does is cut the connection and prevent them from working normally. Very useful if we are not interested in having programs started and consuming data, for example. It can also be useful to maintain security by allowing only the programs that interest us.

We can create a black list so that some applications that do not interest us do not connect to the Internet. This way we will avoid receiving notifications, downloading data or even getting updated. Basically it cuts any connection that can enter or exit from those programs that we have included in the list.

Report fraudulent connection attempts

This type of program also has the ability to inform the user about fraudulent connection attempts. A way to alert that something strange is happening and to be able to take action before it is too late and can expose more personal information or compromise the devices.

Create a configuration according to the connected network

Another issue that we can take into account when using a firewall is that we can create configurations or rules depending on where we connect. For example, if we connect at home, in a network that is going to be private and secure, we can have a different rule than when we connect in a public Wi-Fi, where we can have more danger.

In short, having a firewall on our computers is something very interesting. We have seen how to see what programs we have blocked in the Windows firewall, which is the most used operating system on desktop computers. We can create a blacklist so that certain programs do not receive or send data over the network. In this way our security will always be present.

Leave a Reply

Your email address will not be published.

Back to top button