netstat can be used to list all open ports on a machine
Linux
$ netstat -an | grep -i listen Command options will be different in diff version of linux
Windows
> netstat -a | find /i "listening"
> netstat -b //will show the process names
> netstat -?
Some links on the web
http://blogs.techrepublic.com.com/security/?p=443
http://www.petri.co.il/quickly_find_local_open_ports.htm
December 6, 2008 at 3:49 am |
[...] references every blogger or webmaster should know about Saved by haruharuharuko on Fri 21-11-2008 List open ports – netstat Saved by Polluce on Sat 15-11-2008 Biblical References In Ted Kennedy’s DNC Speech Saved by [...]