In my Node.js server I'm using app.listen(443); to try and listen and use HTTPS. This gives me the following error when I try and run it on my Linux server:
Emitted 'error' event on Server instance at:
at emitErrorNT (node:net:1459:8)
at processTicksAndRejections (node:internal/process/task_queues:83:21) {
code: 'EACCES',
errno: -13,
syscall: 'listen',
address: '0.0.0.0',
port: 443
}
I have no idea what this means, but it seems like the server is having an issue using port 443. Did I do something wrong when I started the server with app.listen()?