I am trying to run a route on Node and the error appears below:

Asked

Viewed 22 times

0

I’m trying to create a website with routes, using Mysql and Node.js But when I will run.. appears the following msg:

follows the error msg:

Emitted 'error' event on Server instance at:
    at emitErrorNT (net.js:1345:8)
    at processTicksAndRejections (internal/process/task_queues.js:80:21) {
  code: 'EADDRINUSE',
  errno: -4091,
  syscall: 'listen',
  address: '::',
  port: 8081
}
  • code: 'EADDRINUSE', probably this address (port) is already in use.

  • You probably started this on another cmd terminal or screen, if this is an error on the server it may mean that your project starts automatically through some operating system config.

  • And how can I fix it?

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.