About Me

My photo
Working as Technical Lead in CollabNET software private limited.

Tuesday 1 April, 2008

To find opened ports in linux

After a long search I found the good way to search the opened ports in a machine.
It's nmap & netstat.

Syntax

netstat -na | grep 6000

nmap -p 1-63335 localhost

The above command displays the ports opened in machine localhost.

No comments: