SPICE - listening ports

Latest response

 

Hi,
 
# virsh -r list --all
 Id    Name                           State
----------------------------------------------------
 1     se06inpidaydb1                 running
 2     se06inpinfapp1                 running
 
# netstat -tulpn |grep :59
tcp        0      0 0.0.0.0:5900                0.0.0.0:*                   LISTEN      11566/qemu-kvm
tcp        0      0 0.0.0.0:5901                0.0.0.0:*                   LISTEN      11566/qemu-kvm
tcp        0      0 0.0.0.0:5902                0.0.0.0:*                   LISTEN      11638/qemu-kvm
tcp        0      0 0.0.0.0:5903                0.0.0.0:*                   LISTEN      11638/qemu-kvm
 
 
 
Every VM seem to spawn two ports for spice connections.
I guess my source adress must be able to communicate with both ports for the VM console to work?
Will it always be 2 spice ports per VM?
Would be good to know since then I know the port range that needs to be opened.

Responses