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.– Cmte Cardeal
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.
– Guilherme Nascimento
And how can I fix it?
– Camila Lins