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?
Originally asked by Jonas on Stack Exchange (askubuntu) (CC BY-SA 2.5).