Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Command to find Services running on Ports

Status
Not open for further replies.

naveenrt

Technical User
Mar 23, 2001
53
US
Hi
Is there any command to find what services are running on what port other than looking into /etc/services

Cheers
Naveen
 
netstat -an | grep LISTEN

That will give you a list of your open ports.
 
You can also use the lsof utility to view what is listening on what port, plus more details like whose started /using it . This utility is an addition and not part of Base OS , you can dowload it from
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top