GitHub user weizhouapache added a comment to the discussion: Migration was 
refused connection to the destination. Please check libvirt configurations 
compatibility and firewall

> @verendrakalsi, can you check that TCP port for libvirt is open?
> 
> `netstat -lntp | grep libvirtd`
> 
> this is in my lab
> ```
> 
> [root@cs-dev-kvm1-4 packages]# cat /etc/libvirt/libvirtd.conf | grep 
> listen_tcp
> #listen_tcp = 1
> listen_tcp=0
> [root@cs-dev-kvm1-4 packages]# virsh -c qemu+tcp://127.0.0.1/system
> setlocale: No such file or directory
> error: failed to connect to the hypervisor
> error: unable to connect to server at '127.0.0.1:16509': Connection refused
> ```
> 
> after changing to `listen_tcp=1`
> 
> ```
> [root@cs-dev-kvm1-4 packages]# virsh -c qemu+tcp://127.0.0.1/system
> setlocale: No such file or directory
> Welcome to virsh, the virtualization interactive terminal.
> 
> Type:  'help' for help with commands
>        'quit' to quit
> ```
> 
> 

for Secure host, it uses tls

listen_tcp=0
listen_tls=1



GitHub link: 
https://github.com/apache/cloudstack/discussions/9987#discussioncomment-11394158

----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscr...@cloudstack.apache.org

Reply via email to