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