Server should only listen on the loopback

This commit is contained in:
Girish Ramakrishnan
2014-10-06 19:02:39 -07:00
parent 18059c4f8a
commit 3ea6aff5e1
+1 -1
View File
@@ -327,7 +327,7 @@ Server.prototype.start = function (callback) {
mailer.initialize();
that.httpServer = http.createServer(that.app);
that.httpServer.listen(config.port, callback);
that.httpServer.listen(config.port, '127.0.0.1', callback);
});
};