Last active
January 24, 2017 21:08
-
-
Save ezy/dc16fe56f11f0674cbb2662d655f2035 to your computer and use it in GitHub Desktop.
Find and kill process running on port <PID> on OSX
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
// See which processes are running | |
lsof -i tcp:<Port> | |
// Kill process ID | |
kill -9 <PID> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment