[libvirt-users] TCP connection works for only remote host

usha basavaraju usha.basavaraju at gmail.com
Tue Jun 10 09:02:09 UTC 2014


tcp connection working only for remote host . for localhost raising the
following error

>>> con=libvirt.open("qemu+tcp:///system")
libvirt: XML-RPC error : unable to connect to server at 'localhost:16509':
Connection refused
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File
"/home/fluent/cvt/convirt-enterprise/tg2env/local/lib/python2.7/site-packages/libvirt.py",
line 239, in open
    if ret is None:raise libvirtError('virConnectOpen() failed')
libvirt.libvirtError: unable to connect to server at 'localhost:16509':
Connection refused
>>>
Is there any other params to be set for local host connection..? please help
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20140610/c46c1e8d/attachment.htm>


More information about the libvirt-users mailing list