Created
February 22, 2017 21:56
-
-
Save tgcnzn/226c28315647871d346d5b40f05bab4d to your computer and use it in GitHub Desktop.
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
To list any process listening to the port 8080: | |
lsof -i:8080 | |
To kill any process listening to the port 8080: | |
kill $(lsof -t -i:8080) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment