Created
April 14, 2022 07:05
-
-
Save robertolos/acbb1f9692a3e598a67117b6048f7034 to your computer and use it in GitHub Desktop.
Kill process running on port 3000
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 -i 4tcp:3000 -sTCP:LISTEN | awk '{if(NR>1)print $2}' | xargs kill |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment