Kill process running on port

To get the open file:

sudo lsof -i:8080

lsof command output

To kill it one go

sudo kill -9 `sudo lsof -t -i:8080`

Helpful?

If you think this is helpful 🎈
Don't keep it to yourself 🙊

Share it with your lovely followers at twitter 🗽

lets connect viatwitter