Networking HowTos
Networking HowTos

View listening TCP ports on Windows

February 7, 2013 Microsoft, Windows

This guide shows you how to view a list of all the listening TCP ports on a Windows machine. This is useful for knowing if a service is listening on a specific port, or if you need to know if a specific port is available to use for something like a web server.
View all listening TCP ports on Windows:
Open the command prompt.
Run the following command:

netstat -an | find "LISTENING" | more

Example output:

  TCP    0.0.0.0:80             0.0.0.0:0              LISTENING
  TCP    0.0.0.0:135            0.0.0.0:0              LISTENING
  TCP    0.0.0.0:443            0.0.0.0:0              LISTENING
  TCP    0.0.0.0:445            0.0.0.0:0              LISTENING

You Might Also Like