kknd22
12/13/2017 - 7:08 PM

Linux: Find Out Which Process Is Listening Upon a Port

Linux: Find Out Which Process Is Listening Upon a Port

sudo netstat -tulpn | grep 9092
tcp        0      0 0.0.0.0:9092                0.0.0.0:*                   LISTEN      4484/java 

sudo cat  /proc/4484/cmdline