[libvirt] Problem: cannot make libvirtd listen to TCP sockets

Daniel P. Berrange berrange at redhat.com
Tue Jan 12 17:06:49 UTC 2010

On Tue, Jan 12, 2010 at 06:47:42PM +0200, Motiejus Jak??tys wrote:
> Hello,
> I don't know if I am writing to the proper place, but I've been
> struggling quite a long time with connecting to libvirtd. Any
> information would help.
> My goal is to start remote tcp connection (afterwards - tls, but
> later) and connect to the libvirtd.
> http://libvirt.org/uri.html#URI_remote

> libvirtd keeps running, however it does not open ANY new ports to
> listening state. Extract from /usr/local/etc/libvirt/libvirtd.conf :
> (full conf here: http://pastebin.com/f6e0f572)
> listen_tls = 1
> listen_tcp = 1

Edit /etc/sysconfig/libvirtd  and set --listen

(or whatever Debian uses to pass command line args to libvirtd from its

|: Red Hat, Engineering, London   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|

More information about the libvir-list mailing list