From d22e8fbf2792e466fb3ee0c4b5aad52bbc67cd93 Mon Sep 17 00:00:00 2001 From: Johan Wikman Date: Tue, 19 Jan 2021 15:42:35 +0200 Subject: [PATCH] Use loopback address as default for --hosts Cherry picking 0293633b0f2815ba7be55c63d6ba6ac6a22a1db7 from 2.5 caused numerous formatting related conflicts. So did the change manually. --- maxctrl/lib/core.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maxctrl/lib/core.js b/maxctrl/lib/core.js index 771302f2b..f8587e9c5 100644 --- a/maxctrl/lib/core.js +++ b/maxctrl/lib/core.js @@ -46,7 +46,7 @@ program alias: 'hosts', describe: 'List of MaxScale hosts. The hosts must be in ' + 'HOST:PORT format and each value must be separated by a comma.', - default: 'localhost:8989', + default: '127.0.0.1:8989', type: 'string' }) .option('t', {