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.

windows firewall search

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.

windows firewall inbound

Step 3: On the Wizard

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

Choose port and hit next.

windows firewall new rule

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

windows firewall portinput

Allow the connection and hit next

windows firewall allowconection

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

windows firewall publicorprivate

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

windows firewall name

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

Your support is our everlasting motivation,
that cup of coffee is what keeps us going!

As we continue to grow, we would wish to reach and impact more people who visit and take advantage of the guides we have on our blog. This is a big task for us and we are so far extremely grateful for the kind people who have shown amazing support for our work over the time we have been online.

Thank You for your support as we work to give you the best of guides and articles. Click below to buy us a coffee.


Please enter your comment!
Please enter your name here