Need to know how many connections i have on a specific port. using netstat

cmd.exenetstat

need to know how many connections i have on a specific port.

For example that i have 10 connection on port 80.

Is it possible to do on netstat or in any program ?

Best Answer

As answered here:

https://stackoverflow.com/questions/12010631/command-line-for-looking-at-specific-port

You can use the command:

netstat -np | find "port #"

Also, if you want only the number of connections, you can use this command:

netstat -np | find /C "port #"

Related Question