health-dev
[Top][All Lists]
Advanced

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

Re: [Health-dev] Unable to connect to server


From: Cédric Krier
Subject: Re: [Health-dev] Unable to connect to server
Date: Fri, 5 Jul 2013 12:13:45 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

On 05/07/13 15:06 +0530, Kaushik wrote:
> Hi,
>       I installed GNUHealth from source. I am running the Tryton
> server on machine A and the tryton client is connecting from a
> another machine (say machine B).
> I see the following in the server console :
> Fri Jul 05 09:16:06 2013] INFO:server:initialising distributed
> objects services
> [Fri Jul 05 09:16:06 2013] INFO:server:starting JSON-RPC protocol on
> localhost:8000

It listens only on localhost.

> using netstat I can see that port 8000 is being listened on.
> 
> Then, I start Tryton client on machine B. Add a new profile (by
> Manage Profile->Add) , and provide the destination ip address of
> machine A (also tried with the machine name).  Give the port number
> as 8000. I get an error that says - Unable to connect to server.
> 
> I don't see any activity on the console either. I am attaching the
> screenshot of the error.
> 
> Could you please advise me how I can track this down?.  So far, I
> have had client and server on the same machine. Is there something
> different I need to do if client is on a different machine.

If you want to listen on all addresses, you must put in the
configuration file:

jsonrpc = 0.0.0.0:8000

-- 
Cédric Krier

B2CK SPRL
Rue de Rotterdam, 4
4000 Liège
Belgium
Tel: +32 472 54 46 59
Email/Jabber: address@hidden
Website: http://www.b2ck.com/

Attachment: pgpN1XPUnJtsW.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]