health
[Top][All Lists]
Advanced

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

Re: [Health] GNU Health 1.4.2 Database: Could not connect to the server


From: ronald munjoma
Subject: Re: [Health] GNU Health 1.4.2 Database: Could not connect to the server
Date: Thu, 3 Nov 2011 00:16:00 +0200

On 2 November 2011 14:49, Cédric Krier <address@hidden> wrote:
On 02/11/11 14:02 +0200, ronald munjoma wrote:
> >
> >
> > check the interface (ipv6 or ipv4) where trytond its running jsonrpc =
> > localhost:8000 or jsonrpc = 0.0.0.0:8000
> >
> > you can check it with netstat -atopn
> >
> > Hie Zodman,
>
> Please find output for netstat -atopn below:
>
> address@hidden:~$ sudo netstat -atopn*
> *[sudo] password for ronald:*
> *Active Internet connections (servers and established)*
> *Proto Recv-Q Send-Q Local Address           Foreign Address         State
>       PID/Program name Timer*
> *tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN
>      793/sshd         off (0.00/0/0)*
> *tcp        0      0 0.0.0.0:5432            0.0.0.0:*               LISTEN
>      807/postgres     off (0.00/0/0)*
> *tcp        0      0 192.168.10.50:22        192.168.10.49:49561
> ESTABLISHED 1443/sshd: ronald [ keepalive (7174.56/0/0)*
> *tcp        0      0 192.168.10.50:22        192.168.10.49:49555
> ESTABLISHED 1393/sshd: ronald [ keepalive (6950.36/0/0)*
> *tcp6       0      0 ::1:8000                :::*                    LISTEN
>      1441/python      off (0.00/0/0)*

So it is listening on ipv6. Be sure that you try to connect using also ipv6.

Hie Cedric,

How to I force it to listen on ipv4? Google led me to: http://comments.gmane.org/gmane.comp.python.tryton.devel/2484

I used pip install, where do I locate configuration file to configure: 

jsonrpc = 127.0.0.1:8000,[::1]:8000
regards and thanks
Ronald

reply via email to

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