Last active
July 14, 2017 11:57
-
-
Save twilson63/00eb47e6bdaf7a8ceef9e53ac9934ea8 to your computer and use it in GitHub Desktop.
Kill a server process running on a specific port
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
lsof -i TCP:3000 | grep LISTEN | awk '{print $2}' | xargs kill -9 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment