Type control firewall.cpl and press to open the classic Firewall menu.
The unique number assigned to the program using that port. windows 11 open ports
Legitimate remote desktop tools can be weaponized if their default ports are exposed to the public internet without strong authentication. Common Ports in Windows 11 (And What They Do) Type control firewall
netsh advfirewall firewall add rule name="MyAppPort" dir=in action=allow protocol=TCP localport=12345 Common Ports in Windows 11 (And What They
| Port | Service | Purpose | Security Note | |------|---------|---------|---------------| | | RPC Endpoint Mapper | Helps Windows services find each other; used for printing, task scheduling, and internal communications | Core Windows service—can't be disabled, but your firewall should block it from the internet | | 139 | NetBIOS Session Service | Legacy Windows networking for older file and printer sharing | Consider disabling if you don't use legacy network shares | | 445 | SMB (Server Message Block) | Modern file and printer sharing; also used for remote administration | Keep restricted to private networks only | | 3389 | RDP (Remote Desktop Protocol) | Allows remote access to your Windows machine | Only enable when you need remote access; consider changing the default port | | 80 | HTTP | Serves unencrypted web pages; used by web servers | Typically only open if you're running a web server | | 443 | HTTPS | Serves encrypted secure web pages | Same as port 80—only open if hosting a secure website |
Locate the matching PID to see the exact executable name responsible for opening that port. 5. How to Open Ports in Windows 11 Firewall
If you used the netstat -ano command, note the of the suspicious open port. You can instantly identify the parent application using the Windows Task Manager: Press Ctrl + Shift + Esc to launch Task Manager . Click on the Details tab on the left sidebar.