NanoTech-kw · Tech Guide Library

NETSTAT CMD (Network Statistics)

Windows · CMD

Show active network connections, listening ports, and their process IDs. Syntax: netstat [-a] [-n] [-o]

Step-by-step

  1. Open Command Prompt (press Win+R, type cmd, and press Enter)
  2. Syntax: netstat [-a] [-n] [-o]
  3. Brief: Show active network connections, listening ports, and their process IDs.
  4. Example: netstat -ano | findstr :443
  5. Tip: Use -o with -a -n, then match the PID in Task Manager to find which app holds a port.

Reference: learn.microsoft.com

Open in the NanoTech-kw library →