How to Open Port using Windows Firewall in Windows 10

If an application or program requires a specific port to be opened, here’s how you can use the Windows Firewall to open a port in Windows 10.

Windows and most applications generally manage all the configurations required to send and receive traffic via specific ports without user intervention. By default, Windows block all unsolicited traffic so that your system will stay protected in the network. That is one of the main reasons why many applications create explicit rules in the Windows Firewall. It allows for uninterrupted network access.

However, there might applications like game clients, media streaming software, or VPN software that require a specific port to be opened. If the port is not opened, the target software may not work as intended due to the restricted network access. If that ever happens, you can manually open ports using Windows Firewall in Windows 10.

In this quick guide, let me show the whole procedure to open a port in Windows Firewall in Windows 10.

Note: You need administrative privileges to create, delete, or edit Windows firewall rules.

Steps to Open a Port in Windows Firewall

To open a port in Windows 10, you need to create a custom rule in Windows Firewall. Follow the below steps to create a rule to open port using Windows Firewall.

Open Port for Inbound Traffic:

  1. Open Start by pressing the Windows key.
  2. Search and open “Windows Defender Firewall“.
    Open-windows-firewall-180620
  3. Click the “Advanced Settings” link on the left panel.
    Firewall-advanced-settings-to-open-port-in-windows-180620
  4. Select the “Inbound Rules” option on the left panel.
    Select-inbound-rules-option-180620
  5. In the new window, select “Port” radio option and click “Next“.
    Select-port-option-180620
  6. Depending on which port you want to open, select “TCP” or “UDP” and click “Next“. In my case, I’m selecting the TCP option.
  7. Select the “Specific local ports” option and type the port number you want to open the blank field. Click “Next“.
    Select-port-number-to-open-180620
  8. Select “Allow the connection” and click “Next“.
    Allow-connection-180620
  9. Select the network types you want the rule to apply and click “Next“.
    Select-network-typs-180620
  10. Give a meaningful name and click “Finish“.
    Name-firewall-rule-180620
  11. You will see the newly configured rule in the Windows Firewall rules window.
    Firewall-rules-to-open-port-in-windows-180620

That is it. You’ve opened a port for inbound traffic using the Windows Firewall.

Open Port for Outbound Traffic:

To open a port for outbound traffic, follow the steps listed below.

  1. Open Start.
  2. Search and open “Windows Defender Firewall“.
  3. Click “Advanced Settings“.
  4. Select the “Outbound Rules“.
  5. Select the “Port” radio option and click “Next“.
  6. Depending on which port you want to open, select “TCP” or “UDP” and click “Next“.
  7. Select the “Specific local ports” option and type the port number in the blank field. Click “Next“.
  8. Select “Allow the connection” and click “Next“.
  9. Select the network types you want the rule to apply and click “Next“.
  10. Give a meaningful name and click “Finish“.
  11. You will see the newly configured rule in the Windows Firewall rules window.

With the above configuration, you’ve successfully opened a port in Windows 10.

Disable to Delete Open Port Rule in Windows Firewall

If you no longer need a dedicated rule to open the port, you can either disable the rule or delete the rule.

To disable the open port firewall rule, right-click on the rule in the Windows Firewall settings and select the “Disable Rule” option.

Disable-rule-180620

To delete the rule, right-click on the rule and select the “Delete” option.

Delete-firewall-rule-180620

Wrapping Up

Do keep in mind that you’ve opened the port on your local machine. If you are using a router, you might need to configure port forwarding rules depending on the application requirement and configuration. For example, if you are configuring a media streaming application like Kodi or Plex, you might need to configure port forwarding rules in your router.

That is it. If you are stuck or need some help, comment below and I will try to help as much as possible.

Scroll to Top