[Libvir] remote access ?

Daniel Veillard veillard at redhat.com
Mon Oct 15 14:40:21 UTC 2007


On Mon, Oct 15, 2007 at 09:26:26AM -0400, Mark Johnson wrote:
> 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/

  Hum, strange, that's still a valid absolute URI except with an empty
path I find strange we have a problem with this, as we don't use the 
path for the access in practice ...

Daniel

-- 
Red Hat Virtualization group http://redhat.com/virtualization/
Daniel Veillard      | virtualization library  http://libvirt.org/
veillard at redhat.com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine  http://rpmfind.net/




More information about the libvir-list mailing list