From b3f1c7e9a5e14cadf5bc2a8131a99d8f1c12c23b Mon Sep 17 00:00:00 2001 From: Dominik Csapak Date: Mon, 25 Mar 2019 12:53:43 +0100 Subject: [PATCH] use localhost instead of 127.0.0.1 to listen with spiceterm that is the name we use to connect from spiceproxy and can be either ipv4 or ipv6 Signed-off-by: Dominik Csapak --- PVE/API2Tools.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PVE/API2Tools.pm b/PVE/API2Tools.pm index 2d1bdf255..9f782c92f 100644 --- a/PVE/API2Tools.pm +++ b/PVE/API2Tools.pm @@ -166,7 +166,7 @@ sub run_spiceterm { my $timeout = 40; - my $cmd = ['/usr/bin/spiceterm', '--port', $port, '--addr', '127.0.0.1', + my $cmd = ['/usr/bin/spiceterm', '--port', $port, '--addr', 'localhost', '--timeout', $timeout, '--authpath', $authpath, '--permissions', $permissions];