Skip to content

Commit

Permalink
Update server.js
Browse files Browse the repository at this point in the history
  • Loading branch information
vikramdurai authored Dec 9, 2016
1 parent d6ecdef commit 3cb39ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/server/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -722,10 +722,10 @@ var ipaddress = process.env.OPENSHIFT_NODEJS_IP || process.env.IP || '127.0.0.1'
var serverport = process.env.OPENSHIFT_NODEJS_PORT || process.env.PORT || c.port;
if (process.env.OPENSHIFT_NODEJS_IP !== undefined) {
http.listen( serverport, ipaddress, function() {
console.log('[DEBUG] Listening on *:' + serverport);
console.log('[DEBUG] Listening on localhost:' + serverport);
});
} else {
http.listen( serverport, function() {
console.log('[DEBUG] Listening on *:' + c.port);
console.log('[DEBUG] Listening on 127.0.0.1:' + c.port);
});
}

0 comments on commit 3cb39ea

Please sign in to comment.