Last active
December 11, 2015 02:19
-
-
Save yumyo/4530046 to your computer and use it in GitHub Desktop.
Ports operations on Mac OS X
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
List open ports on Mac OS X | |
sudo lsof -i -P | grep -i "listen" | |
--- Suspende node servers --- | |
ctrl-z suspends it, which means it can still be running. | |
ctrl-c will actually kill it. | |
you can also kill it manually like this: | |
ps aux | grep node | |
Find the process ID (second from the left): | |
kill -9 PRCOCESS_ID | |
This may also work | |
killall node |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment