When dealing with certain apps and processes on your Windows 10 PC, you might run issues if you aren't connecting properly to the internet. If you've come across a potential fix that involves opening a certain port in your firewall, you might be wondering what exactly that process entails. This is a problem that can arise in plenty of situations, but especially when attempting to set up a VPN. If you suspect Windows Firewall is part of your connectivity issue, here's how to open ports.
How to open a port for incoming traffic in Windows Firewall
Windows Firewall is designed as a security measure for your PC. To put it simply, a firewall analyzes incoming and outgoing connections to determine whether or not they're threats. If you suspect that your Windows Firewall is causing connectivity issues, you can open a port for incoming traffic. Here's how:
- Right-click the Start button.
- Click Search.
Type Windows Firewall.
- Click Windows Firewall.
Click Advanced settings.
- Click Inbound Rules in the left frame of the window.
Click New Rule… in the right frame of the window.
- Click Port.
- Click either TCP or UDP.
Click Specific local ports.
- Type a port number. (In this case, we will open port 1707.)
- Click Allow the connection.
- Click any network types you'd like to allow the connection over.
- Type a name for the rule.
How to open a port for outgoing traffic in Windows Firewall
The same set of steps listed above can be used to create a rule for outgoing traffic. In step No. 6, instead of clicking Inbound Rules, you'll want to click Outgoing Rules. The rest of the steps are the same, and you can disable the rule in the same manner by using the steps in the next section.
How to close a port in Windows Firewall
Want to disable the rule you created to open a port in the Windows Firewall? Here's how:
- Right-click the Start button.
- Type Windows Firewall.
Click Windows Firewall.
- Click Advanced settings.
Click Inbound Rules or Outbound Rules in the left frame of the window, depending on what type of rule you 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.
Need a bit more help with Windows Firewall and Windows 10? We have plenty of resources covering a wide range of topics.
- How to troubleshoot and fix Windows Firewall problems
- What you need to know about the new Windows Defender Security Center in the Creators Update
- Windows 10 help, tips, and tricks
We may earn a commission for purchases using our links. Learn more.
Check out how the Surface Neo keyboard could work in this patent
A patent reveals designs from Microsoft on how to make a detachable keyboard work with touchscreen devices like the Surface Neo. If this patent is what's used in the Neo, then it's a clever pairing of two pieces of hardware that make the system work.
Does Dell's XPS 13 or Acer's Swift 5 work better for you? We compare.
The late-2019 refresh of Acer's 14-inch Swift 5 is mostly a winner, but how does it match up to the latest Dell XPS 13 9300 model that's better than ever? We pit the two against each other to help you pick a winner.
Microsoft's 'Project Catnip' PWA for Windows Insiders is dead
Microsoft has killed off its plans for "Project Catnip," a Progressive Web App (PWA) for Windows Insiders to keep up on the latest news going on with the Insider program. The company says it's still exploring options for some of the features explored in the PWA.
These are the best PC sticks for when you're on the move
Instant computer, just add a screen! That’s the general idea of the ultra-portable PC Compute Sticks, but it can be hard to know which one you want. Relax, we’ve got you covered.