Find Listening Network Ports

by Geethalakshmi 2009-12-15 19:52:52

Find Listening Network Ports


Use the following command to list all open ports and associated programs:

netstat -tulpn
OR
nmap -sT -O localhost
nmap -sT -O server.example.com


Use iptables to close open ports or stop all unwanted network services using above service and chkconfig commands.

Tagged in:

1035
like
0
dislike
0
mail
flag

You must LOGIN to add comments