Skip to content

Instantly share code, notes, and snippets.

@khalid32
Last active January 6, 2020 10:59
Show Gist options
  • Select an option

  • Save khalid32/1396b5607eecfbcfc0382146d0d3f2ef to your computer and use it in GitHub Desktop.

Select an option

Save khalid32/1396b5607eecfbcfc0382146d0d3f2ef to your computer and use it in GitHub Desktop.
kill ports in nodejs...
/* 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