Last active
May 2, 2020 17:17
-
-
Save sharepointoscar/6772beea817fec054a053c7f38fa25a8 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