Browse files

Fix port...

  • Loading branch information...
1 parent 1197a66 commit 26f185ee50f02327310e46e3d8f7ea7a8f0541f6 xFontroSF committed Oct 8, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 app.js
View
4 app.js
@@ -6,7 +6,7 @@ var url = require("url"),
cluster = require("cluster");
//var ipaddr = process.env.VMC_APP_PORT || process.env.OPENSHIFT_INTERNAL_IP || "192.168.7.163",
-var port = process.env.VMC_APP_PORT || process.env.OPENSHIFT_INTERNAL_PORT || "8080";
+var port = process.env.OPENSHIFT_INTERNAL_PORT || "8080";
var app = express(),
handle = {};
@@ -19,7 +19,7 @@ args
.parse(process.argv);
if(cluster.isMaster) {
- console.log('Binding to port ', args.port);
+ //console.log('Binding to port ', args.port);
console.log('Folder path: ', args.folder);
console.log('Processor: ' + require('os').cpus()[0].model);

0 comments on commit 26f185e

Please sign in to comment.