[Libvir] remote access ?

Mark Johnson johnson.nh at gmail.com
Mon Oct 15 13:26:26 UTC 2007


On 10/15/07, Richard W.M. Jones <rjones at redhat.com> wrote:
> Mark Johnson wrote:
> > [root at fedora ~]# virsh connect xen+tcp://localhost
> > libvir: Remote error : Connection refused
> > error: Failed to connect to the hypervisor
>
> IME this usually happens because I forget to open the right port on the
> firewall (both incoming and outgoing ...)

Thanks Rich.  My problem was I typed the line wrong.  It needed
a trailing /

 e.g.

> [root at fedora ~]# virsh connect xen+tcp://localhost

Should have been...
  [root at fedora ~]# virsh connect xen+tcp://localhost/

Thanks,

MRJ




More information about the libvir-list mailing list