Possible Duplicate:
Finding the process that is using a certain port in linux

I have an Ubuntu Server setup, where I'm trying to set up a daemon that wants to have access to port 8080. When I run the command, the error message says it's being used by another process. But which one, it doesn't say. How can I go about finding which program uses this port?


1 Answer 1


You can see the command that occupies port 8080 by issuing e.g. lsof -i :8080 or netstat -tulpn | grep :8080.

Not the answer you're looking for? Browse other questions tagged or ask your own question.