mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-05-29 07:10:36 +00:00
use ReuseAddr for vncproxy
to avoid "Socket already in use" errors, when quickly opening/closing console sessions on the webinterface Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
parent
175b51fdb5
commit
dd32a4664f
@ -1433,6 +1433,7 @@ __PACKAGE__->register_method({
|
||||
$cmd = [@$remcmd, "/usr/sbin/qm", 'vncproxy', $vmid];
|
||||
|
||||
my $sock = IO::Socket::IP->new(
|
||||
ReuseAddr => 1,
|
||||
Listen => 1,
|
||||
LocalPort => $port,
|
||||
Proto => 'tcp',
|
||||
|
Loading…
Reference in New Issue
Block a user