From c8e4fedd09e90ccaef4b50334e8f29ec1ae6d027 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 2d1bdf25..9f782c92 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];