Wrong environment variable for IP Address
This line: : https://github.com/ramr/nodejs-custom-version-openshift/blob/master/server.js#L25
Needs to look like this line:
https://github.com/openshift/nodejs-example/blob/master/server.js#L6
Well, originally this was a DIY app template and so it used the
process.env.OPENSHIFT_INTERNAL_{IP,PORT} variables.
Those should still work even if you create a nodejs-0.6 app.
Am curious though, is it not working - causing you problems? OpenShift just changed their cartridge infrastructure, so if its not working it would well be a regression.
aah, ok, now I see the problem -- looks like the v2 carts broke this. Fixed with https://github.com/ramr/nodejs-custom-version-openshift/commit/c201d598d06c5059a09ac6b8aab9b9e5e55dfb0f
Thanks for reporting it.