Skip to content

Commit 2699ac2

Browse files
committed
Changed default port to 9080 to avoid more common collisions, and hostname from 127.0.0.1 to localhost
1 parent 576aa95 commit 2699ac2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

coder-base/config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
exports.listenIP = null; //Defaults to *
3-
exports.listenPort = '8081'; //the SSL port things run on
4-
exports.httpListenPort = '8080'; //this will all be redirected to SSL
3+
exports.listenPort = '9081'; //the SSL port things run on
4+
exports.httpListenPort = '9080'; //this will all be redirected to SSL
55
exports.cacheApps = true;
66
exports.httpVisiblePort = '80'; //forwarded http port the user sees
77
exports.httpsVisiblePort = '443'; //forwarded https port the user sees

coder-base/localserver.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ var apphandler = function( req, res, appdir ) {
135135

136136

137137
var startLocal = function() {
138-
http.createServer(localapp).listen( config.httpListenPort, '127.0.0.1' );
138+
http.createServer(localapp).listen( config.httpListenPort, 'localhost' );
139139
console.log('Listening on: http://127.0.0.1:' + config.httpListenPort);
140140
};
141141

0 commit comments

Comments
 (0)