

In the description, you may want to enter why you opened the port. Make sure you’re descriptive with this so you can find it later. You may want to check what type your current network is by running the Get-NetConnectionProfile command in PowerShell. Tick “Domain” to apply the rule at work, “Private” at home, and “Public” for shared networks. This is important, as there are situations where you might want to keep certain ports closed, such as in a coffee shop or hotel. Click “Next”.Ī firewall rule is not network specific, so it may apply outside of your home network. Alternatively, block a port by checking “Block the connection”. To let Firewall allow a port, check “Allow the connection”. On the “Action” screen, we can choose what we want the the Windows Firewall rule to do.

There are two choices wehen it comes to Windows 10 ports – TCP and UDP.

This requires use of the dedicated Firewall app. To add a port to Windows Firewall (or close a port), you need to add something called a Windows Firewall rule or Firewall exception. At times, however, it may block a useful port unless the user explicitly tells it not to. The Windows Firewall looks at incoming and outgoing connections and analyses them to determine whether they’re trustworthy.
