Setting the port for node.js server on Heroku

You can’t. Heroku sets the PORT variable that you are supposed to bind, and listens on tcp/80.

Leave a Comment