How to Open a Port on Windows Firewall

  • MORE

Firewall is an essential security feature for any PC that works alongside antivirus software to shield your computer from worms and hackers. But sometimes a program has to communicate with an outside network, which requires you to open an inbound or an outbound port. Windows Firewall wizard allows you to create rules against which it checks permissions for a program to communicate over a specific port.

windows defender firewall

Once these rules are created, you’ve essentially whitelisted this application from triggering your firewall -- so long as it’s connecting to this port. Here are a handful of fairly simple steps to follow in order to use this feature. 

How to open a port on Windows Firewall

  1. Type Firewall in the search box on the taskbar, clicking the Windows Defender Firewall to open it.

    windows search

     

  2. Click Advanced Settings from the left sidebar in the next window.
    windows system and security advanced settings

     

  3. In the left pane, click Inbound Rule.
    windows inbound rule firewall

     

  4. In the right pane, click New Rule.
    windows inbound rule new rule

     

  5. Select Port under What type of rule would you like to create?
    port inbound rule firewall

     

  6. Click Next.
    press next in the inbound rule wizard

     

  7. Type a port number for Specific local ports.
    windows firewall inbound rule wizard specific local ports

     

  8. Click Next.
    press next after specific local ports

     

  9. Select Allow the connection.
    choose allow the connection inbound rule wizard

     

  10. Click Next.
    action allow the connection

     

  11. Select any network type you are OK to allow the connection over.
    check any network type domain private and public

     

  12. Click Next.
    press next

     

  13. Type a name for the rule.
    type the name in the blank

     

  14. Click Finish.
    press finishCredit: Microsoft