Booser Empowering your life

11Jan/120

How to kill process that running on specific port

Its very annoying, when you trying to start the services, but the port is already in use. What to do? Kill it! So that you can start the services again.

i use example: red5 port running on 5080.

how to find that port : 5080 is run on what process?

lsof -w -n -i tcp:5080

then the process and pid will appear.

kill it by typing:

kill -9 <pid -id></pid>

hope that help.

Link To This Page
1. Click inside the codebox
2. Right-Click then Copy
3. Paste the HTML code into your webpage
codebox

Incoming search terms: