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 Site Host

$ 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.

Share it!

See also  How to Search Whole MySQL Database for a Particular String