Nodejs Express on Heroku App EACCES 0.0.0.0:80
You need to provide port for app to listen on in environment variable.
What heroku does is it runs our app on dynamic port.
Try using this:
const PORT = process.env.PORT || 3000;app.listen(PORT, err => { if(err) throw err; console.log("%c Server running", "color: green");});
Also you shouldn't bind the port to 80, as it is a reserved standard http port.
Heroku dynos expose a dynamic port for your app to bind to. This value is exposed in the $PORT env var. You must change your code to bind to this port instead.
const port = process.env.PORT || 80;app.listen(port, err => { if(err) throw err; console.log("%c Server running", "color: green");});