Skip to content

Commit

Permalink
Merge pull request #45 from lognormal/selective-iface
Browse files Browse the repository at this point in the history
Allow binding to a specific interface
  • Loading branch information
kastner committed Feb 11, 2012
2 parents 3cbd351 + c6c3ef1 commit 990d4df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions stats.js
Expand Up @@ -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");

Expand Down

0 comments on commit 990d4df

Please sign in to comment.