Skip to content

Instantly share code, notes, and snippets.

@dsimard
Created December 22, 2011 18:59
Show Gist options
  • Save dsimard/1511415 to your computer and use it in GitHub Desktop.
Save dsimard/1511415 to your computer and use it in GitHub Desktop.
Node.js on Heroku : "Process bound to port 3000, should be 12345"
var port = process.env.PORT || 3000;
app.listen(port);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment