Skip to content

Instantly share code, notes, and snippets.

@adeleke5140
Last active July 1, 2022 20:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adeleke5140/90264fd7a4e7ce52ae53725ac10071c6 to your computer and use it in GitHub Desktop.
Save adeleke5140/90264fd7a4e7ce52ae53725ac10071c6 to your computer and use it in GitHub Desktop.
Resolve NodeJS / Express: EADDRINUSE, Address already in use
#get process ID
sudo lsof -i :port
#where port is the port you want to kill
#kill process ID
kill -9 PID
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment