LISTEN_IP is defined in /etc/default/pmgproxy. this depends on the changes in pve-common and pve-http-server (#2997)
Signed-off-by: Oguz Bektas <[email protected]> --- src/PMG/Service/pmgproxy.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/PMG/Service/pmgproxy.pm b/src/PMG/Service/pmgproxy.pm index b2fdc69..11cefe8 100755 --- a/src/PMG/Service/pmgproxy.pm +++ b/src/PMG/Service/pmgproxy.pm @@ -64,8 +64,8 @@ sub init { my $lockfh = IO::File->new(">>${accept_lock_fn}") || die "unable to open lock file '${accept_lock_fn}' - $!\n"; - my $family = PVE::Tools::get_host_address_family($self->{nodename}); - my $socket = $self->create_reusable_socket(8006, undef, $family); + my $listen_ip = $proxyconf->{LISTEN_IP} // "::0"; + my $socket = $self->create_reusable_socket(8006, $listen_ip); my $dirs = {}; -- 2.20.1 _______________________________________________ pve-devel mailing list [email protected] https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
