Windows 11 Open Ports Page

while($true) Clear-Host Get-NetTCPConnection -State Listen

Click on this, then scroll down to click Advanced settings . Inbound Rules: In the left-hand pane, click Inbound Rules .

Every network service relies on specific ports. For example, your web browser uses port 443 for secure HTTPS traffic, while file sharing protocols use ports 445 and 139. Understanding which ports are open on your system helps you identify legitimate services, troubleshoot network issues, and detect potential security risks. windows 11 open ports

New-NetFirewallRule -Name "MyCustomApp" -DisplayName "Allow Custom Port" -Direction Inbound -Protocol TCP -LocalPort 8080 -Action Allow Use code with caution. To verify that your new rule was created successfully, run: powershell Get-NetFirewallRule -Name "MyCustomApp" Use code with caution. Step 4: The Final Step – Router Port Forwarding

Remove any rules you don't recognize or need. For example, your web browser uses port 443

If ShieldsUP! says your ports are "Stealth," it means Windows 11 is dropping packets (not even responding with "Closed"). This is the ideal secure state.

Before opening a new port, it’s helpful to see what is already active. You can do this quickly using the Command Prompt , and press Enter. Type the following command and hit Enter: netstat -ano To verify that your new rule was created

In the left-hand pane, click . This opens the Windows Defender Firewall with Advanced Security window.

This prevents traffic but keeps the service running locally.

Logo
×