Find ports status on Windows

To find ports status on windows, there is a default Windows GUI - Resource Monitor or you could use netstat via command prompt.

Default Windows GUI - Resource Monitor

This is the most convenient method to find port status, there are two ways to open this GUI :

  1. Type resmon in command prompt then naviagate to Network > Listening Ports
  2. Ctrl+Shift+Esc to open Windows Task Manager > Performance > Resource Monitor > Network > Listening Ports

Netstat

Open command prompt, type netstat /? to see its documentation, netstat -abon to list all port-proccess mapping

1
2
3
4
5
6
7
8
9
C:\Windows\System32>netstat -abon | findstr "8080"
TCP 0.0.0.0:8080 0.0.0.0:0 LISTENING 4
TCP [::]:8080 [::]:0 LISTENING 4

# Include heading
C:\Windows\System32>netstat -abon | findstr "Proto 8080"
Proto Local Address Foreign Address State PID
TCP 0.0.0.0:8080 0.0.0.0:0 LISTENING 4
TCP [::]:8080 [::]:0 LISTENING 4

Reference

Stackoverflow - How can you find out which process is listening on a port on Windows?