[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] libvirt-ask



On 21/02/2011, at 4:08 PM, Osier Yang wrote:
> 于 2011年02月21日 10:12, stone1927 写道:
>> I'm use an url format that is qemu+tcp://root 192 168 1 8/system or qemu+tcp://192.168.1.8/system
>> 
>> error:unable to connect to libvirtd at '192.168.1.8':errno=10061
>> 
>> error:failed to connect to the hypervisor
>> 
>> I'm use a client libvirt in windows7; The libvirt version is Libvirt-0.8.7-2.exe.The 192.168.1.8 is linux/kvm which is server.
> 
> Seems like your socket connection is refused, could you
> confirm if you started any firewall? and if it is, can
> you confirm if libvirt is allowed in your firewall
> configuration?

Yep, it sounds like one of these would be the problem:

 a) Libvirt on the Linux server is not listening for tcp connections, or

 b) There is a firewall stopping the connection from getting through

    This could be on your windows box, stopping the outgoing connection,
    or could be on the linux server, stopping the incoming connection.

    Depending on your network, there could be some kind of firewall in
    between too.

Probably the first thing to check for, is a).

>From the Linux server, try opening a telnet connection to itself, going
to the tcp port Libvirt should be listening on (16509).

For example:

  $ telnet 192.168.1.8 16509
  Trying 192.168.1.8...
  Connected to 192.168.1.8.
  Escape character is '^]'.

If it makes a connection, then Libvirt is set up ok, and your problem
is more likely a firewall.

If it doesn't work, then the Libvirt configuration needs adjusting.
You'd need to tell Libvirt to listen for tcp connections.  That's easy,
but the files to adjust depend on the version of Linux you're using.

Which version of Linux are you using? :)

Regards and best wishes,

Justin Clift


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]