Last Updated: February 25, 2016
·
645
· andersbrownwort

What process is using this port?

Find the process using port 8080:

# netstat -tlpn | grep 8080
tcp   0  0 1.2.3.4:8080  0.0.0.0:*   LISTEN  7561/nginx
# ls -l /proc/7561/exe
lrwxrwxrwx root root Nov 4 8:14 /proc/7561/exe -> /usr/local/sbin/nginx

/usr/local/sbin/nginx is using port 8080 on 1.2.3.4.

1 Response
Add your response

I have the command where aliased to netstat -tulpna|grep ssh so I can quickly see all my open SSH connections.

over 1 year ago ·