Public bug reported:

I was testing out libvirtd on Ubuntu 20.04

Actually testing out this - https://techviewleo.com/install-
webvirtcloud-kvm-web-dashboard-on-ubuntu/

I get the error 16509 which I can replicate with this command

# virsh -c qemu+tcp://host/system
error: unable to connect to server at 'host:16509': Connection refused
error: failed to connect to the hypervisor

https://wiki.libvirt.org/page/Libvirt_daemon_is_not_listening_on_tcp_ports_although_configured_to

The libvirt systemd service starts the libvirt process with
$libvirt_opts as a parameter to the executable.

if I update the libvirtd config file /etc/default/libvirt

# options passed to libvirtd, add "-l" to listen on tcp
libvirtd_opts="-l -d"

Adding any option in libvirtd_opts causes the service to fail on restart
without the listener running on port 16509.

Seems like the config behaviour changed since this bug
https://bugs.launchpad.net/mos/+bug/1473569 was closed.

** Affects: libvirt (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1960937

Title:
  Libvirtd on 20.04 does not listen on port 16509

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1960937/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to