Created
February 23, 2018 22:14
-
-
Save poanchen/f0c610a30a9ca8e4d19b27cc0293fa36 to your computer and use it in GitHub Desktop.
Killing the process id that occupy the port you were using
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 -w -n -i tcp:port_number | |
kill -9 pid_number |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment