Home  »  CodeSnippets   »   How to Kill a Process on a Port in Ubuntu

How to Kill a Process on a Port in Ubuntu

Posted: February 8, 2022 | by Michael Bright

$ sudo kill -9 'sudo lsof -t -i:3000' 

Where 3000 is the port number.

Found this article interesting? Follow Brightwhiz on Facebook, Twitter, and YouTube to read and watch more content we post.