Created
October 31, 2016 13:14
-
-
Save stephen-james/7392dbb0f10b5081e74700c138602294 to your computer and use it in GitHub Desktop.
Find and Kill Process using 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:{{port}} | |
// find PID from list | |
kill -9 {{PID}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment