Skip to content

Kill all processes running on a port in Linux

To kill all processes running on the port 8080:

sudo kill -9 `sudo lsof -t -i:8080`
See also  Save server certificate to your local machine using bash

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.