Error: listen EACCES: permission denied 3000; code example
Example 1: Error: listen EACCES: permission denied 0.0.0.0:3000
If anyone else is having a similar problem on windows. The issue is the virtual ethernet adapter created by docker. Once I disabled it everything went back to working normally.
change to another port like 5000 | 8000
Example 2: listen EACCES: permission denied 3000S
const server = require('http').createServer();
const port = process.env.PORT || 3000;
server.listen(port, () => console.log(`Listening on ${port}`));