Open a Port in Windows Firewall on Server 2012 / 2016 / 2019

Windows Server contains a firewall program called “Windows Firewall with Advanced Security”. This firewall is often automatically configured so that access to programs will be allowed. However, not all applications will be automatically configured. In this case, you will need to open a port manually.

Open TCP Port 80 (HTTP) in Windows Firewall:

  1. From the Windows Start menu, open Control Panel.
  2. Select Windows Firewall.
  3. Select Advanced settings in the left column of the Windows Firewall window.
  4. Select Inbound Rules in the left column of the Windows Firewall with Advanced Security window.
  5. Select New Rule in the right column.
  6. Select Port in the New Inbound Rule Wizard and then click Next. Note: Do not create a Program rule – you must create a Port rule.
  7. Select which protocol this rule will apply to TCP, select Specific local ports, type port number 80, and then click Next.
  8. Select Allow the connection and then click Next.
  9. Select when this rule applies (check all of them for the port to always stay open) and then click Next.
  10. Give this rule a name and then click Finish to add the new rule. TCP Port 80 is now open and ready to be used.

If You still find it blocked follow these steps:

  1. Open cmd
  2. type netstat -a -n -o
  3. find TCP [the IP address]:[port number] …. #[target_PID]#
  4. CTRL+ALT+DELETE and choose “start task manager“Click on “Processes” tabEnable “PID” column by going to: View > Select Columns > Check the box for PIDFind the PID of interest and “END PROCESS“Your port will be open now.

Leave a Comment

Item added to cart.
0 items - $0.00
Select your currency
USD United States (US) dollar