Last active
February 8, 2018 09:25
-
-
Save ypolosov/ec058052a57f0c0b10b72ef8651aaeae to your computer and use it in GitHub Desktop.
how to know who uses a port
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
sudo netstat -nlp|grep ':27017' | |
or | |
kill $(lsof -t -i:27017) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment