Skip to content
This repository was archived by the owner on Apr 10, 2018. It is now read-only.
This repository was archived by the owner on Apr 10, 2018. It is now read-only.

app.js fails to start after move to Diego in Bluemix #5

@chlau

Description

@chlau

The following lines in app.js causes an issue and results in app crashes. Diego no longer provides the VCAP_APP_HOST value. A temporary workaround is to change the default value from 'localhost' to '0.0.0.0'.

var port = (process.env.VCAP_APP_PORT || process.env.PORT || 3000);
var host = (process.env.VCAP_APP_HOST || process.env.HOST || 'localhost');

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions