How to view a list of all port numbers in Linux
- Type in the following command in the command line:
- Hit the enter key
- And now a list of TCP and UDP port numbers will appear together with the service name that’s using them.
Written by Ian Carnaghan I am a software developer and online educator who likes to keep up with all the latest in technology. I also manage cloud infrastructure, continuous monitoring, DevOps processes, security, and continuous integration and deployment. In my spare time I teach undergraduate classes in web development. Profile