Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

More specifically, how can I find out what processes are using port 8080 (for example a web server)?

share|improve this question

migrated from Dec 11 '10 at 19:57

This question came from our site for professional and enthusiast programmers.

marked as duplicate by studiohack Aug 30 '12 at 20:38

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


lsof -i :8080
share|improve this answer
that one seems to also return client conenctions – thejh Dec 11 '10 at 15:27
@thejh: OK, so grep for LISTEN to only get the server connections – skaffman Dec 11 '10 at 15:39
netstat -n --tcp -p -l |grep ":8080"
share|improve this answer
netstat -ntpl – grawity Dec 11 '10 at 20:29
Note: You have to be root to return general process/port relationships. You will get your own if you have created them, but others will not show up if you don't own those processes. – deltaray Dec 12 '10 at 0:14

Not the answer you're looking for? Browse other questions tagged .