Browse Source

change default port numbers

activeAddress
Matias Alejo Garcia 10 years ago
parent
commit
f511ecba16
  1. 2
      bws.js
  2. 4
      config.js
  3. 2
      locker/locker.js
  4. 2
      multilevel/multilevel.js

2
bws.js

@ -4,7 +4,7 @@ var ExpressApp = require('./lib/expressapp');
var WsApp = require('./lib/wsapp');
var config = require('./config');
var port = process.env.BWS_PORT || 3001;
var port = process.env.BWS_PORT || 3232;
var app = ExpressApp.start(config);
//app.listen(port);

4
config.js

@ -17,7 +17,7 @@ var config = {
/* To use multilevel, uncomment this:
multiLevel: {
host: 'localhost',
port: 3002,
port: 3230,
},
*/
},
@ -25,7 +25,7 @@ var config = {
/* To use locker-server, uncomment this:
lockerServer: {
host: 'localhost',
port: 3003,
port: 3231,
},
*/
},

2
locker/locker.js

@ -1,6 +1,6 @@
#!/usr/bin/env node
var PORT = 3003;
var PORT = 3231;
console.log('Server started at port ' + PORT + '...');
var Locker = require('locker-server'),

2
multilevel/multilevel.js

@ -8,7 +8,7 @@ var db = level('./db', {
valueEncoding: 'json'
});
var HOST = 'localhost';
var PORT = 3002;
var PORT = 3230;
console.log('Server started at port ' + PORT + '...');

Loading…
Cancel
Save