diff --git a/HELP.md b/HELP.md index a2c5caf2..e8e2d665 100644 --- a/HELP.md +++ b/HELP.md @@ -129,7 +129,7 @@ Cloud Commander supports command line parameters: | `--no-show-file-name` | do not show file name in view and edit If no parameters given Cloud Commander reads information from `~/.cloudcmd.json` and use -port from it (`8000` default). if port variables `PORT` or `VCAP_APP_PORT` isn't exist. +port from it (`8000` default). if port variables `PORT` isn't exist. To begin use, type in address bar of your browser: diff --git a/server/server.js b/server/server.js index 48bbe93c..e004bdb4 100644 --- a/server/server.js +++ b/server/server.js @@ -21,7 +21,6 @@ const prefix = squad(prefixer, apart(config, 'prefix')); module.exports = (options) => { const port = process.env.PORT || /* c9 */ - process.env.VCAP_APP_PORT || /* cloudfoundry */ config('port'); const ip = process.env.IP || /* c9 */