From 94ff8a9b047cdf6eef34e307d7eddad365a5f2a5 Mon Sep 17 00:00:00 2001 From: HeikoGr Date: Thu, 2 Jan 2020 14:15:24 +0000 Subject: [PATCH] force declaration of public ip adress in config file (ISSUE #1852) --- config/config.js.sample | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/config.js.sample b/config/config.js.sample index 115e2dd2..3b3bb71e 100644 --- a/config/config.js.sample +++ b/config/config.js.sample @@ -12,8 +12,8 @@ var config = { address: "localhost", // Address to listen on, can be: // - "localhost", "127.0.0.1", "::1" to listen on loopback interface // - another specific IPv4/6 to listen on a specific interface - // - "", "0.0.0.0", "::" to listen on any interface - // Default, when address config is left out, is "localhost" + // - "0.0.0.0", "::" to listen on any interface + // Default, when address config is left out or empty, is "localhost" port: 8080, ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"], // Set [] to allow all IP addresses // or add a specific IPv4 of 192.168.1.5 :