Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Heroku deployment #122

victorbello opened this Issue Apr 13, 2012 · 4 comments


None yet
2 participants


I'm trying out a new deployment into heroku, can't seem to get geddy to run without issues.

I keep getting this error

Error R11 (Bad bind) -> Process bound to port 5768, should be 41113 (see environment variable PORT)

web: geddy -p 5768

{ "name": "oskalisti", "version": "0.0.1", "dependencies": { "geddy": "0.3.20", "jake": "0.2.31" } }

Any help would be greatly appreciated. Thanks.


Techwraith commented Apr 13, 2012

Looks like you need to use geddy -p $PORT or add port: process.env.PORT to your production.js config file.

Yeah, I forgot to post that here once I figured it out. That was the problem.

Now, I've changed the value on the init.js from "development" to "production" and it still loads the server with development configuration. Any idea why?


Techwraith commented Apr 13, 2012

Make sure to start your server with geddy -e production. That tells geddy to use the production config file instead of the development one.

Oh. Good one. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment