Permalink
Browse files

[cleanup]

  • Loading branch information...
1 parent 1817d78 commit 68156a200eb598fe3bb987d14f299df2bae3d4e4 @AndreasMadsen committed Dec 30, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −1 demo.js
  2. +0 −1 tcpnet.js
View
2 demo.js
@@ -16,7 +16,7 @@ setInterval(function () {
}, 1000);
// Pick a random port, and use all available addresses
-service.listen(0, '127.0.0.1');
+service.listen(0, '0.0.0.0');
//not really nessarry since this is a auto discovery service
service.once('listening', function () {
View
1 tcpnet.js
@@ -220,7 +220,6 @@ Service.prototype._createConnection = function (service) {
// Connect to remote and start handshake
var addresses = this._getAddresses(service);
- console.log('connecting to:', addresses[0]);
var socket = net.connect({ port: service.port, host: addresses[0] });
// Relay errors to the service object, when initializing is done the

0 comments on commit 68156a2

Please sign in to comment.