Discussion in 'General Computer Chat' started by LainJeremy, Jul 28, 2019.
How to find out what ports are listening in ubuntu?
If you want a GUI based one I would suggest etherape. Since you're doing Ubtuntu based, "sudo apt-get install etherape". It draws out lines to show what is connecting where on the network and clicking thing further shows more information like the ports and other goodies.
If you're just looking to see it in a terminal then. "ss -lntu"
sudo apt install zenmap
Zenmap graphical user interface program that can be used in ubuntu to list the ports.
You can do a zenmap on localhost to see what ports are being used.
The first will scan yourself for listening hosts, the second will tell you which processes are bound to which ports.
Separate names with a comma.