How to Open UDP Port on Windows Firewall?

After reading how to open the UDP port in the Windows Firewall guide, you will be able to open and close UDP ports by configuring Windows Firewall.

Avoid leaving your PC with a firewall enabled. That’s why Microsoft includes a basic firewall in Windows by default. By closing off access to the internet, they prevent malicious users from gaining access to your system.

Your firewall will compare the protocol a given application uses to the list of permitted protocols stored in its rules database whenever communication occurs across this port. If it is still being determined whether or not a given program is authorized to connect to the internet, it will ask for your consent to perform this check. This may drive you crazy.

These firewalls may cause unexpected behavior from particular applications at times. To avoid this, you must instruct the firewall to provide the specified programs access to the network. To achieve this, a port must be opened in the firewall.

Furthermore, you may experience complications with specific programs and operations on your Windows computer without a stable internet connection. You may be curious about the steps involved in opening a port in your firewall if you have come across a possible solution that consists in doing so. It’s a common issue in many contexts, including VPN installation. See if Windows Firewall is to blame for your connectivity problems by following the steps below to open ports. You’ll learn the ins and outs of Windows port forwarding. We will also show you how to use Windows Firewall’s built-in tools for port scanning and closure.

How to Open a Port in Windows Firewall

The purpose of the Windows Firewall is to protect your computer from malicious software. The primary function of a firewall is to examine all incoming and outgoing network traffic for malicious intent. If you believe your Windows Firewall is to blame for your network connectivity problems, you can allow a specific port to receive inbound data. Follow these steps:

  1. To do this, right-click the Start button;
  2. Use the search bar;
  3. And put in Windows Firewall;


  1. Click and open the Windows Firewall;
  2. For more granular control, select the “Advanced” option;



  1. In the left pane of the window, select Inbound Rules;
  2. Select New Rule… in the window’s lower right corner;


  1. Clicking the Port;
  2. To continue, please press the next button;


  1. Click on UDP;
  2. Click Specific local ports;
  3. Enter the port number you wish to use. (We’ll be enabling connection on port 1707 in this instance.);
  4. To continue, please press the next button;

  1. Allow connection;
  2. And press the next button to continue;

  1. A list of available network types will appear; select those you wish to allow the connection over;
  2. And click next to continue;

  1. Input the rules desired label;
  2. To conclude, use the Finish button.




How to close a port in Windows Firewall

Ready to turn off the Windows Firewall port-opening rule you just made? Follow these steps:

  1. Right-click the Start button;
  2. Click Search;


  1. Type Windows Firewall;
  2. Click Windows Firewall;

  1. Click the “Advanced” tab;
  2. Select the appropriate tab in the left pane of the window (Inbound Rules or Outbound Rules) based on the type of rule you just made;

  1. Click the rule you created;
  2. Select the desired rule by clicking its name in the window’s right pane;



  1. Click Disable Rule;
  2. To permanently remove the rule, select the Delete option.

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.