Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

  • Loading branch information...
commit 6382a20d731238f0cac3b1ec51557bd9fb83df15 1 parent 5d3c60f
@jhurliman authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 server.js
View
4 server.js
@@ -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);
}
/**
Please sign in to comment.
Something went wrong with that request. Please try again.