Share your love
Open a Firewall Port on Windows Server 2019
![Open a Firewall Port on Windows Server 2019](https://orcacore.com/wp-content/uploads/2021/12/open-firewall-port-ws2019-1-768x576.webp)
In this article, we want to teach you How To Open a Firewall Port on Windows Server 2019.
A firewall is a network security device that monitors incoming and outgoing network traffic and permits or blocks data packets based on a set of security rules.
Its purpose is to establish a barrier between your internal network and incoming traffic from external sources (such as the internet) in order to block malicious traffic like viruses and hackers.
Firewalls carefully analyze incoming traffic based on pre-established rules and filter traffic coming from unsecured or suspicious sources to prevent attacks.
Most Internet applications and services have well-known ports on which machines ‘listen’ for communications.
How To Open a Firewall Port on Windows Server 2019
You can follow the steps below to open a Firewall port on your Windows server.
Note: This guide applies to Windows Server 2016 too.
First, you need to open your control panel. Then, follow the path below to open the Advanced settings:
System and security > Windows Defender Firewall > Advanced Settings
![Windows server firewall advanced settings](https://orcacore.com/wp-content/uploads/2021/12/firewall-advanced-settings.webp)
At the Windows Defender Advanced settings window, click on the inbound rules. And, on the top right of the window click on the New Rule to open a firewall port.
![Inbound new rule](https://orcacore.com/wp-content/uploads/2021/12/inbound-new-rule.webp)
Here a New Inbound Rule Wizard will open. You need to check the box next to the port and click on the Next button.
![new inbound rule for firewall port](https://orcacore.com/wp-content/uploads/2021/12/new-inbound-rule.webp)
At this point, you need to check the box next to the TCP. And in the specific local ports, enter the desired port that you want to open on your Windows server.
![firewall protocol and port on windows server](https://orcacore.com/wp-content/uploads/2021/12/firewall-protocol-ports.webp)
Next, you need to allow connections for the firewall port on the Windows server and click on the Next button.
![allow firewall connections](https://orcacore.com/wp-content/uploads/2021/12/allow-firewall-connections.webp)
Now depending on what you desire, you need to apply the new rule.
You can either choose “Domain, Private, or Public“. Press Next after that.
![Firewall rule apply](https://orcacore.com/wp-content/uploads/2021/12/firewall-rule-apply.webp)
In the next window, enter the name of the rule and a description if you want. Then, press the Finish.
![Firewall rule name](https://orcacore.com/wp-content/uploads/2021/12/firewall-rule-name.webp)
You can back to the Windows Defender Firewall Advanced settings window and you will see the new rule is created.
![Firewall rule created successfully](https://orcacore.com/wp-content/uploads/2021/12/firewall-rule-create.webp)
Conclusion
At this point, you learn to Open a Firewall Port on Windows Server 2019.
Hope you enjoy it.