Thursday, April 9, 2009

Command to check port usage

A simple linux command by the name netstat does it.
Usage is -
$> netstat -a

Using the -a switch shows the ports that are both listening
and not listening at the moment. Such a tool is useful
for debugging services which are connection based such
as webservers and sockets.

0 comments:

Post a Comment