List open ports on a machine

## http://www.linuxforums.org/forum/slackware-linux/17261-open-ports.html
## need nmap
sudo apt-get install nmap
## list open ports and the corresponding services
nmap localhost
## udp
sudo nmap -sU localhost

About Vinh Nguyen

Statistician

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>