A lsof command below will display which process is listening to port 8080:
lsof -i tcp:8080 |
Output:
[email protected]:~# lsof -i tcp:8080 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME java 1046 jenkins 161u IPv6 15206 0t0 TCP *:http-alt (LISTEN)