Kill Process on Port

03/28/2020

Have you ever tried starting a server and can’t because something is already using the port? Well I have!

lsof -t -i tcp:8080 | xargs kill

Use this command to kill any process running on the port of your choice!