How do I find out which service is listening on a specific port?

Updated -

A list of the services and their standard ports can be found in the file /etc/services. There is also a full list of the port numbers in this site as assigned by the Internet Assigned Numbers Authority: http://www.iana.org/assignments/port-numbers

Commands that...

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content