How Can We Help?
How to view a list of all port numbers in Linux
- Type in the following command in the command line:
cat /etc/services - 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.