|
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 02/11/11 14:02 +0200, ronald munjoma wrote:> address@hidden:~$ sudo netstat -atopn*
> >
> >
> > 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:
>
> *[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.
jsonrpc = 127.0.0.1:8000,[::1]:8000
[Prev in Thread] | Current Thread | [Next in Thread] |