weizhouapache commented on issue #9965:
URL: https://github.com/apache/cloudstack/issues/9965#issuecomment-2498727545

   > @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
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to