List open ports – netstat

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

One Response to “List open ports – netstat”

  1. Recent Links Tagged With "references" - JabberTags Says:

    [...] 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 [...]

Leave a Reply

You must be logged in to post a comment.