Friday, July 1, 2011

find ports in your local PC

well I am not talking something about a port scanner, simple stuff get all the ports in your PC.

well you could try telnet localhost 33307

i am talking about netstat command.... in a prevoius blog post i mentioned about a tool in linux (iftop)

netstat - gives you all network statistics,

netstat -no | find /i "established"


netstat -n Displays addresses and port numbers in numerical form.
netstat -o Displays the owning process ID associated with each connection.

and the find command to filter out the established connection(s)..

No comments:

Post a Comment

About

Blogger templates