Search This Blog

Wednesday, June 11, 2008

Find open ports on linux

if you want to see your open ports on linux - the next command can help you.
Find specific port :
netstat -a grep [port no] (i.e. netstat -a grep 7071)
OR
netstat -pln

find program that listening on specific port :
netstat -anp grep [port no]

No comments: