Home Forums Tech Web Development nodemon crashes with error EADDRINUSE

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #4204
    Mr. Mangus
    Participant

    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.

    #4248
    Udar Gromov
    Keymaster

    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.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.