Ubuntu – How to see what ports are open on the machine

networkingserver

I would like to see what ports are open on my machine, e.g. what ports my machine is listening on. E.g. port 80 if I have installed a web server, and so on.

Is there any command for this?

Best Answer

nmap (install)

Nmap ("Network Mapper") is a free and open source utility for network exploration or security auditing.

Use nmap 192.168.1.33 for internal PC or nmap external IP address.

More information man nmap.

Zenmap is the official GUI frontend.

Related Question