How to open a port in Windows Firewall

If you found this post helpful, kindly share it and show your support :)

To open a port in Windows Firewall, you can follow below steps.

  • Right-click the Start button >> Click Search
  • Type Windows Firewall >> Click Windows Firewall >> Click Advanced settings.
  • In the left frame of the window, click Inbound Rules >> In the right frame of the window, click New Rule
  • Click Port >> Click Next.
  • Click either TCP or UDP >> Click Specific local ports.
  • Type a port number. (For eg, if we want to open port 1808) >> Click Next.
  • Click Allow the connection >> Click Next.
  • Click any network types you want to allow the connection over >> Click Next.
  • Type a name for the rule >> Click Finish.

To open a port for outgoing traffic in Windows Firewall, you can follow the same steps mentioned above and you will need to choose Outgoing Rules instead of Inbound Rules and follow the remaining steps.

To close a port in Windows Firewall, you can follow the same steps mentioned above then follow steps

In Advanced settings >> Click Inbound Rules or Outbound Rules, depending on what type of rule you have created >> Click the rule you created >> Click the name of the rule in the right frame of the window >> Click Disable Rule >> Click Delete if you want to completely delete the rule.

Loading

Mohammed Noufal

I'm Mohammed Noufal, working as Server Admin for the last 10 years.  In my day-to-day life, l had to face different problems related to Web-hosting. On my website Errorlogz.com, you can find solutions for different Web-hosting-related problems. Sometimes, I spent hours searching/googling to find a solution. This inspired me to start a website that gives solutions to different Webhosting problems. This website includes basic Linux and windows commands, and different control panels like cPanel, Plesk, DirectAdmin, Webmin & so on. You can find solutions and or suggestions for different Web-hosting related problems from here. Hence I would like to say Errorlogz is your server protector.  I will be glad if Logdetect can help any one of the Server admins to find a solution to his problem.

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *