Created
October 16, 2013 14:19
-
-
Save martinrusev/7008482 to your computer and use it in GitHub Desktop.
Kill process on port
This file contains hidden or 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
sudo kill -9 `sudo fuser -n tcp 8000 2> /dev/null` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
i'm usually use this:
sudo fuser -k 8080/tcp