Node ser error (NODEMON)

Emitted 'error' event on Server instance at:
    at emitErrorNT (node:net:1924:8)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {        
  code: 'EADDRINUSE',
  errno: -4091,
  syscall: 'listen',
  address: '::1',
  port: 5000
}

Node.js v20.12.2
[nodemon] app crashed - waiting for file changes before starting...

  • 1 Comments
  • 161 Views
  • Share:

1 Comment

image
6 months ago

you are running your server on the same port twice, so cancel one node terminal