We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When executing node index.js. the following error was thrown. When I change to port 80, it works.
node index.js
node index.js node:events:368 throw er; // Unhandled 'error' event ^
Error: listen EACCES: permission denied ::1:8080 at Server.setupListenHandle [as _listen2] (node:net:1313:21) at listenInCluster (node:net:1378:12) at GetAddrInfoReqWrap.doListen [as callback] (node:net:1516:7) at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:74:8) Emitted 'error' event on Server instance at: at emitErrorNT (node:net:1357:8) at processTicksAndRejections (node:internal/process/task_queues:83:21) { code: 'EACCES', errno: -4092, syscall: 'listen', address: '::1', port: 8080 }
The text was updated successfully, but these errors were encountered:
This might be related to this https://superuser.com/questions/1437780/how-to-fix-listen-eacces-permission-denied-on-any-port
Sorry, something went wrong.
No branches or pull requests
When executing
node index.js
. the following error was thrown. When I change to port 80, it works.Error: listen EACCES: permission denied ::1:8080
at Server.setupListenHandle [as _listen2] (node:net:1313:21)
at listenInCluster (node:net:1378:12)
at GetAddrInfoReqWrap.doListen [as callback] (node:net:1516:7)
at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:74:8)
Emitted 'error' event on Server instance at:
at emitErrorNT (node:net:1357:8)
at processTicksAndRejections (node:internal/process/task_queues:83:21) {
code: 'EACCES',
errno: -4092,
syscall: 'listen',
address: '::1',
port: 8080
}
The text was updated successfully, but these errors were encountered: