How to find what application is using network port in linux?

netstat -nlp will give you an idea.

[root@os]# netstat -nlp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address               Foreign Address             State       PID/Program name
tcp        0      0 0.0.0.0:9921                0.0.0.0:*                   LISTEN      10982/ora_d000_orcl
tcp        0      0 10.10.10.10:1521           0.0.0.0:*                   LISTEN      12516/tnslsnr
tcp        0      0 0.0.0.0:22                  0.0.0.0:*                   LISTEN      6561/sshd
udp        0      0 127.0.0.1:1052              0.0.0.0:*                               10920/ora_pmon_orcl
This entry was posted in unix and tagged , , , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>