Sign up ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am trying to run a GAE app on localhost 8080, but it was apparently occupied, even after shutting down and restarting my computer. I ran sudo lsof -i :8080 lo and behold there is something sill running with PID 66. What can I do to kill that process and free up 8080 again.

share|improve this question

3 Answers 3

  1. Find out what Process ID (pid) is using the required port (e.g port 5434).

    ps aux | grep 5434
  2. Kill that process:

    kill -9 <pid>
share|improve this answer
See also When should I not kill -9 a process? –  Arjan Jul 31 at 12:08
up vote 3 down vote accepted

Turns out it's just kill -9 PID, you might need sudo. Found the answer on in the article Terminal 101: Track and Kill Processes.

share|improve this answer

lsof -i @localhost:8080

kill -9 <<PID>>

share|improve this answer
While this may work, it repeats what the OP posted and could use an explanation. –  bertieb Sep 24 at 14:30

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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