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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

HOW CAN I FIND OUT WHAT PORTS ARE OPEN 1

Status
Not open for further replies.

bgdak

MIS
Aug 15, 2001
37
US
I am trying to find out the open ports I have and what function they are related to?
 
Try looking at /etc/services. Any entries which are not hashed (#) are essentially open for business. HTH.
 
Try using nmap to scan for open ports. Also rpcinfo is a useful command. Nessus can generate an html report about the open ports on the system and give information on what typically runs on each of the ports.
 
Try running the command "lssrc -a | grep active" to show running services.
The command "grep -v "^#" /etc/inetd.conf" will show the running ports.
 
The other thing may be to make use of the netstat command - particularly...

netstat -a

...which shows a list of ports, what they are used for and what status they are in.

Hope it helps.
Dave V.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top