Last active
January 6, 2020 10:59
-
-
Save khalid32/1396b5607eecfbcfc0382146d0d3f2ef to your computer and use it in GitHub Desktop.
kill ports in nodejs...
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
| /* to kill all ports, write in command line... */ | |
| pkill node | |
| /* to kill a port through pid */ | |
| /* 1st, find id from port */ | |
| sudo lsof -i :8081 | |
| /* then, kill it */ | |
| kill -9 23583 | |
| /* run a new port */ | |
| react-native start --port=<port no.> // port no. = 8088 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment