More secure defaults.

Without config, listen only on looback interface. In sample config
listen on any interface, but use an IP whitelist.

Related to #950
This commit is contained in:
Chris van Marle
2017-08-25 18:40:55 +02:00
parent 763d835f4e
commit 2f05228d91
2 changed files with 5 additions and 2 deletions

View File

@@ -8,7 +8,7 @@
*/
var port = 8080;
var address = ""; // Default to listening on all interfaces
var address = "localhost";
if (typeof(mmPort) !== "undefined") {
port = mmPort;
}