Bind ip to localhost when not on OpenShift.
Errors should not be strings but of class Error.
Merge pull request #1 from egilkh/master

Bind ip to localhost when not on OpenShift. Errors should not be strings but of class Error.