Saturday 31 March 2012

Finding the open ports on a system

You can find the opened/used ports of the system using the netstat command.

netstat -an


Adding the additional switch "-b" to the above lists the process PID using each port.
If you want to search for any particular string in the output of netstat you can use the "find" command on windows system as follows:

netstat -an | find "97.107"

No comments:

Post a Comment