Created
August 30, 2022 10:53
-
-
Save ratulcse10/860ab5e265d7654040207e875cb7fd27 to your computer and use it in GitHub Desktop.
find a port and kill
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
lsof -n -i4TCP:3000 | |
OR lsof -i:3000 | |
Where 3000 is the port number the process is running at | |
this returns the process id(PID) and run | |
kill -9 "PID" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment