Howtos / Articles

View listening TCP ports on 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


Share this howto article!
  • Facebook
  • Twitter
  • Reddit
  • email

Leave a Reply

  

  

  

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>