-
-
Save bard86/d109cf853698aa8e660aa45cc209b6e5 to your computer and use it in GitHub Desktop.
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
# Find process running on port 8080 | |
lsof -i:8080 | |
# Just kill it | |
kill -9 $(lsof -t -i:8080) | |
# find process listening on port 9200 | |
lsof -nP -i4TCP:$PORT | grep LISTEN |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment