How To Open and Block Ports in Windows Firewall | Hostwinds (2024)

What is Windows Firewall?

Windows Firewall is a security feature built into Windows that helps protect your system by filtering incoming and outgoing network traffic. It does this by allowing or blocking specific traffic based on a set of rules you define. For example, when a program needs access to the internet, you might see a pop-up asking you to allow or deny the connection. This is Windows Firewall working to ensure you're aware of what's trying to connect to your computer.

By default, Windows Firewall focuses on external connections and unknown networks. Local connections, such as those to your printer, are not typically blocked unless you manually set rules to do so.

How to Open Ports in Windows Firewall

The following guide explains how to open firewall ports on Windows 10 and Windows Server 2016. Steps for other versions of Windows should be quite similar.

Step 1: Open the Control Panel

  • Search for "Control Panel" in the Windows search bar.
How To Open and Block Ports in Windows Firewall | Hostwinds (1)

Step 2: Select System and Security

  • Click on System and Security.

How To Open and Block Ports in Windows Firewall | Hostwinds (2)

Step 3: Choose Windows Defender Firewall

  • Click on Windows Defender Firewall from the list of options.
How To Open and Block Ports in Windows Firewall | Hostwinds (3)

Step 4: Select Advanced Settings

  • On the left side, find and click on Advanced Settings.
How To Open and Block Ports in Windows Firewall | Hostwinds (4)

Step 5: Create a New Rule

How To Open and Block Ports in Windows Firewall | Hostwinds (5)

Note: it is suggested to create the same rule for the opposite option for simplicity and security.

Step 6: Select Port

  • Choose Port to create a rule for a specific port.
How To Open and Block Ports in Windows Firewall | Hostwinds (6)

Step 7: Choose TCP or UDP

  • Most ports use TCP, but some may use UDP. Select the type of connection you want to control.

  • Add the port manually in thetext box and click "Next" when you have specified this to fit your needs.

How To Open and Block Ports in Windows Firewall | Hostwinds (7)

Step 8: Allow or Block the Connection

  • Decide whether you want to allow or block the connection through this port.

How To Open and Block Ports in Windows Firewall | Hostwinds (8)

Step 9: Specify Rule Options

  • Choose the profiles to which the rule applies. You can select all profiles, but typically you want to ensure the Public profile is checked

How To Open and Block Ports in Windows Firewall | Hostwinds (9)

Step 10: Name and Finish

  • Give the rule a name and optional description, then click Finish.

How To Open and Block Ports in Windows Firewall | Hostwinds (10)

Your new rule should now be active and the port open according to your settings.

How to Block a Port

Step 1: Select the Rule

  • In the Advanced Settings, locate and click the rule (inbound or outbound) you want to block.

Step 2: Access the Rule's Properties

  • Locate the rule name you want to block, Right-click it and select Properties.

How To Open and Block Ports in Windows Firewall | Hostwinds (11)

Step 3: Choose Block the Connection

  • In the General tab, select Block the connection and click Apply.

How To Open and Block Ports in Windows Firewall | Hostwinds (12)

The rule should now be updated to block the connection, and you may see a red circle or other indicator showing the rule has been changed.

How To Open and Block Ports in Windows Firewall | Hostwinds (13)

How to Disable or Delete a Firewall Rule

You can disable or delete firewall rules within your Windows Firewall by following these steps.

Step 1: Open the Control Panel

  • Search for "Control Panel" in the Windows search bar.

How To Open and Block Ports in Windows Firewall | Hostwinds (14)

Step 2: Select System and Security

  • Choose System and Security from the options.

How To Open and Block Ports in Windows Firewall | Hostwinds (15)

Step 3: Open Windows Defender Firewall:

  • Click on Windows Defender Firewall.
How To Open and Block Ports in Windows Firewall | Hostwinds (16)

Step 4: Select Advanced Settings

  • Locate and click on Advanced Settings on the left side of the window.
How To Open and Block Ports in Windows Firewall | Hostwinds (17)

Step 5: Navigate to Inbound or Outbound Rules

  • Depending on the rule you want to adjust, select either Inbound Rules or Outbound Rules.
How To Open and Block Ports in Windows Firewall | Hostwinds (18)

Step 6: Find the Rule

  • Locate the rule you want to disable or delete.

How To Open and Block Ports in Windows Firewall | Hostwinds (19)

Step 7: Disable or Delete the Rule

  • Right-click the rule and choose either Disable Rule or Delete.

How To Open and Block Ports in Windows Firewall | Hostwinds (20)

Disabling a rule keeps it inactive but available for future use (Reenable by right-clicking the rule and selecting Enable Rule), while deleting a rule removes it permanently. Only delete a rule if you're sure you no longer need it.

Remember, when making changes to firewall rules, proceed with caution to avoid unintended disruptions in your network traffic. Always double-check your choices before applying changes.

How To Open and Block Ports in Windows Firewall | Hostwinds (2024)
Top Articles
How to Become a Medical Courier (All You Need to Know 2024)
Best time and place to see Northern lights in Norway
Quick Pickling 101
Professor Qwertyson
When Is the Best Time To Buy an RV?
Craigslist/Phx
Tight Tiny Teen Scouts 5
Crusader Kings 3 Workshop
Little Rock Arkansas Craigslist
Wisconsin Women's Volleyball Team Leaked Pictures
Samsung Galaxy S24 Ultra Negru dual-sim, 256 GB, 12 GB RAM - Telefon mobil la pret avantajos - Abonament - In rate | Digi Romania S.A.
Carolina Aguilar Facebook
Accident On May River Road Today
Edicts Of The Prime Designate
Where Is The Nearest Popeyes
eHerkenning (eID) | KPN Zakelijk
U Of Arizona Phonebook
Pasco Telestaff
27 Paul Rudd Memes to Get You Through the Week
Shoe Station Store Locator
Suspiciouswetspot
Manuela Qm Only
1145 Barnett Drive
Dtm Urban Dictionary
'Insidious: The Red Door': Release Date, Cast, Trailer, and What to Expect
Elanco Rebates.com 2022
Nicole Wallace Mother Of Pearl Necklace
Of An Age Showtimes Near Alamo Drafthouse Sloans Lake
Ixl Lausd Northwest
Craigslist In Myrtle Beach
Jr Miss Naturist Pageant
Rise Meadville Reviews
Top-ranked Wisconsin beats Marquette in front of record volleyball crowd at Fiserv Forum. What we learned.
Other Places to Get Your Steps - Walk Cabarrus
Beaufort SC Mugshots
Jetblue 1919
Doublelist Paducah Ky
Pain Out Maxx Kratom
UWPD investigating sharing of 'sensitive' photos, video of Wisconsin volleyball team
Cara Corcione Obituary
Page 5747 – Christianity Today
Diario Las Americas Rentas Hialeah
116 Cubic Inches To Cc
Naomi Soraya Zelda
Bradshaw And Range Obituaries
Blog Pch
Publix Store 840
Festival Gas Rewards Log In
Asisn Massage Near Me
Ihop Deliver
login.microsoftonline.com Reviews | scam or legit check
Latest Posts
Article information

Author: Virgilio Hermann JD

Last Updated:

Views: 6298

Rating: 4 / 5 (61 voted)

Reviews: 92% of readers found this page helpful

Author information

Name: Virgilio Hermann JD

Birthday: 1997-12-21

Address: 6946 Schoen Cove, Sipesshire, MO 55944

Phone: +3763365785260

Job: Accounting Engineer

Hobby: Web surfing, Rafting, Dowsing, Stand-up comedy, Ghost hunting, Swimming, Amateur radio

Introduction: My name is Virgilio Hermann JD, I am a fine, gifted, beautiful, encouraging, kind, talented, zealous person who loves writing and wants to share my knowledge and understanding with you.