1

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)?

0

2 Answers 2

4

Using:

lsof -i :8080 
2
  • that one seems to also return client conenctions Commented Dec 11, 2010 at 15:27
  • @thejh: OK, so grep for LISTEN to only get the server connections Commented Dec 11, 2010 at 15:39
2
netstat -n --tcp -p -l |grep ":8080" 
2
  • netstat -ntpl Commented Dec 11, 2010 at 20:29
  • 1
    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. Commented Dec 12, 2010 at 0:14

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.