Who is using a port
Find which process is listening on port 8080
lsof -i :8080
- tool
- lsof19 commands
More lsof commands
-
lsof -i -n -PShow all open network connections without DNS resolution
-
lsof +D /var/logShow all processes with open files under /var/log
-
lsof | grep '(deleted)'Find files deleted but still held open by processes (disk bloat)
-
ss -tlnpShow TCP listening ports with process names
-
ss -tanp | grep ESTABFilter established TCP connections with process info