Allow Ports on Windows Firewall
Using CMD (Command Prompt / PowerShell)
Using GUI (Graphical User Interface)
Press
Win + R
, typewf.msc
, and press Enter (opens Windows Defender Firewall with Advanced Security).In the left pane, click on Inbound Rules.
In the right pane, click New Rule...
In the New Inbound Rule Wizard:
Select "Port" → Click Next
Choose TCP or UDP
Enter the specific port number (e.g., 8080) → Click Next
Choose "Allow the connection" → Click Next
Select where this rule applies (Domain, Private, Public) → Click Next
Give the rule a name (e.g., "Allow TCP 8080") → Click Finish
Last updated
Was this helpful?