NETSTAT CMD (Network Statistics)
Show active network connections, listening ports, and their process IDs. Syntax: netstat [-a] [-n] [-o]
Step-by-step
- Open Command Prompt (press Win+R, type cmd, and press Enter)
- Syntax: netstat [-a] [-n] [-o]
- Brief: Show active network connections, listening ports, and their process IDs.
- Example: netstat -ano | findstr :443
- Tip: Use -o with -a -n, then match the PID in Task Manager to find which app holds a port.
Reference: learn.microsoft.com