I have my first node.js app (runs fine locally) - but I am unable to deploy it via heroku (first time w/ heroku as well). The code is below. SO doesn\'t let me write so much
Changing my listening port from 3000 to (process.env.PORT || 5000) solved the problem.
(process.env.PORT || 5000)