Permalink
Browse files

Listen on all interfaces, print the port number that we're listening on

  • Loading branch information...
1 parent 5d3c60f commit 6382a20d731238f0cac3b1ec51557bd9fb83df15 @jhurliman committed May 27, 2013
Showing with 3 additions and 1 deletion.
  1. +3 −1 server.js
View
@@ -52,7 +52,9 @@ function init() {
respond(req, res, 404, { error: 'Invalid API endpoint' });
}).addListener('clientError', function(ex) {
log.warn('Client error: ' + ex);
- }).listen(config.web_port, "127.0.0.1");
+ }).listen(config.web_port);
+
+ log.info('HTTP listening on port ' + config.web_port);
}
/**

0 comments on commit 6382a20

Please sign in to comment.