Is there a way to look at a specific port using a command line?

827895 pts.
Tags:
Command line
Networking
Ports
Hi everyone! I'm looking for a way to examine the status of a port using the Microsoft Windows command line. I know there's NETSTAT that examines all ports but it's really slow so I want to look at one specific port.

Answer Wiki

Thanks. We'll let you know when a new response is added.

Use the net.stat combined with the -np flags and a pipe to the find or findstr commands.

Discuss This Question: 2  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.
  • Genderhayes
    Plink is a command line application. This means that you cannot just double-click on its icon to run it and instead you have to bring up a console window. In Windows 95, 98, and ME, this is called an ‘MS DOS Prompt’, and in Windows NT, 2000, and XP, it is called a ‘Command Prompt’. It should be available from the Programs section of your Start Menu
    10,050 pointsBadges:
    report
  • Brijesh
    Use the command netstat -an | findstr : specific port number.
    14,435 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: