Kill a process using a port

lsof -w -n -i tcp:5000

lsof -w -n -i tcp:5000

kill -9 processId

Posted @ 2019-01-30 18:10