Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 stackoverflow.com 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.

2 Answers 2


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 or ask your own question.