Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

/etc/services, port numbers & Unix processes

807559Apr 8 2002 — edited Apr 9 2002
I have some questions about /etc/services, ports and unix processes.

First, it appears to me that a process can listen on a port WITHOUT the service/port number being in /etc/services. Is this correct?
For example we have TUXEDO apps that listen on high number ports even though there are no corresponding service/port pairs in /etc/services.

Second, How do you find out which Unix process is listening on a given port?
Forexample, when you run netstat -a and get something that looks like:

host.port.........................LISTEN

How do you get the Unix PID listening on this port?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 7 2002
Added on Apr 8 2002
2 comments
267 views