- This topic has 1 reply, 2 voices, and was last updated 8 years, 8 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
Home › Forums › Tech › Web Development › nodemon crashes with error EADDRINUSE
Symptoms:
You are using nodemon to reload your Node.js server on any code change.
It works first time, but it crashes on any code change with this error
Error: listen EADDRINUSE
Recommended fix:
Just change your listening port from 8080 to 3000 and you should be all set.
Now nodemon will reload OK with no error messages.
Try it.
The real problem for this error EADDRINUSE is not the port. The real problem was the old version of NODE.JS that was not working well with all the latest version of NODEMON installed via NPM.
© 2017 DomainWebCenter.com. All Rights Reserved. | Disclaimer | Contact the Editor