netstat
SafeConnections and listening ports
netstat -ano
Lists TCP/UDP connections and listening ports. -ano adds PIDs; pipe to findstr to filter.
Examples
netstat -ano | findstr :443PID using port 443netstat -ano | findstr LISTENINGAll listening ports
Syntax
netstat -ano [| findstr <port|pid>]
Before you run it
Read-only.
Used when you see
Related commands
- tasklistList running processes
- Get-NetTCPConnectionPorts/connections in PS
- ssSockets and listening ports
The same reference, with no signal at all
Every command and flow from this site, held on your device and searchable with no connection. Free to install, no ads.
Get it free on the App Store