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?

link|improve this question

feedback

closed as exact duplicate by quack quixote May 18 '10 at 12:06

This question covers exactly the same ground as earlier questions on this topic; its answers may be merged with another identical question. See the FAQ for guidance on how to improve it.

1 Answer

up vote 2 down vote accepted

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

link|improve this answer
feedback

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