How can I configure Windows Firewall?, Open a Port on Windows firewall?. Firewall systems in networks and servers help prevent unauthorized access to given computer resources. The firewall systems checks for the incoming or even the outgoing traffic and then makes decisions about them based on the rules configured.

In our previous guide, we saw how to cause MS SQL server to listen on a specific port. In case the port is not explicitly allowed in the Windows Firewall, then the port won’t still be reached. In this guide, we shall go over the steps on how to expose the port by allowing it from the Firewall.

“Don’t grieve. Anything you lose comes round in another form.”

Step 1: Open Windows Firewall

Hit the Windows key and search for “firewall with Advanced Security“. Choose the first option that comes as shown below. Once the firewall window opens, proceed to the second step.

Step 2: Configure Inbound rule.

Click on the “Inbound Rule” button on the top left section and choose “New Rule” on the top right section of the window. See below for a better visual view. A “New Inbound Rule Wizard” window will open. Proceed to the next step.

Step 3: On the Wizard

On the new window, follow the steps shown in the screenshots below

Choose port and hit next.

Choose TCP, input the port to be allowed and hit next.

Allow the connection and hit next

Depending on what you desire, you can either choose “Domain, Private or Public“. Hit Next after that.

Place a name for the rule, a description if you like and hit Finish

The port is now open. You can telnet to confirm if it is listening.


  • How to open a port in Windows Server 2019 Firewall
  • How to open a port in Windows Server 2016 Firewall
  • How to open a port in Windows Server 2012 Firewall
  • How to open port on Windows Server firewall
  • Windows Server open firewall port

Thank you for reading through guys.

Also Read:

How to enable Remote Desktop Protocol (RDP) on Windows Server 2019

How To Configure MS SQL Server to Listen on a given port

How to Install Windows Server 2019 Step by Step

Create Windows 10 bootable USB on Linux

How to run Docker Containers on Windows Server 2019

How to create disk partitions in Windows using diskpart command

How to run Linux on Windows Server 2019 with WSL