Last active
July 1, 2022 20:52
-
-
Save adeleke5140/90264fd7a4e7ce52ae53725ac10071c6 to your computer and use it in GitHub Desktop.
Resolve NodeJS / Express: EADDRINUSE, Address already in use
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
#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