Skip to content
Browse files

Merge pull request #45 from lognormal/selective-iface

Allow binding to a specific interface
  • Loading branch information...
2 parents 3cbd351 + c6c3ef1 commit 990d4df2185b1d0a15819ae365cb85ec863252a6 @kastner kastner committed Feb 10, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 stats.js
View
4 stats.js
@@ -158,8 +158,8 @@ config.configFile(process.argv[2], function (config, oldConfig) {
});
});
- server.bind(config.port || 8125);
- mgmtServer.listen(config.mgmt_port || 8126);
+ server.bind(config.port || 8125, config.address || undefined);
+ mgmtServer.listen(config.mgmt_port || 8126, config.mgmt_address || undefined);
sys.log("server is up");

0 comments on commit 990d4df

Please sign in to comment.
Something went wrong with that request. Please try again.