Remoteconnection problem

35 views
Skip to first unread message

ulf.j.e...@gmail.com

unread,
Sep 22, 2017, 6:42:51 PM9/22/17
to tryton
HI
Im running suse leap 42.3
with gnuhealth 3.2.2 installed with one click install

My problem is that i cant get access to tryton other than local access.
Im running postgresql

I have tried to adjust pg_hba.conf to different settings
Can someone help me to get it up an running. I dont care about security right now.
I have tried several ours without success. We are working together with a hospital in Tanzania.

Kind regards

Sergi Almacellas Abellana

unread,
Sep 22, 2017, 6:56:49 PM9/22/17
to try...@googlegroups.com, ulf.j.e...@gmail.com


On 22 de setembre de 2017 19.52.58 CEST, ulf.j.e...@gmail.com wrote:
>HI
>Im running suse leap 42.3
>with gnuhealth 3.2.2 installed with one click install
>
>My problem is that i cant get access to tryton other than local access.

Tryton by default only listens to localhost. You should modify you trytond.conf file to listen to other all interfaces. See:

http://doc.tryton.org/4.4/trytond/doc/topics/configuration.html#listen

>Im running postgresql
>
>I have tried to adjust pg_hba.conf to different settings
>Can someone help me to get it up an running. I dont care about security
>right now.
>I have tried several ours without success. We are working together with
>a hospital in Tanzania.
>
>Kind regards

Hope it helps!

--
Enviado desde mi dispositivo Android con K-9 Mail. Por favor, disculpa mi brevedad.

ulf.j.e...@gmail.com

unread,
Sep 23, 2017, 3:42:36 AM9/23/17
to tryton
Hi Agian!

I have aleready tried that!

But cant get external access.

Firewall is turned off in SUSE.

I can access an older version but running on another suse but not this one!

Kind regards

ulf.j.e...@gmail.com

unread,
Sep 23, 2017, 3:42:36 AM9/23/17
to tryton
I have reached a little bit further.
I can connect with the IP adress when i connect local on the computer. It dosent work in remote!

Kind regards

Maah Moussa

unread,
Sep 23, 2017, 8:25:08 AM9/23/17
to tryton
> Kind regerds

Putting firewall off, Network Setup Method "NetworkManager Service" from Network Settings.
Editing /home/etc/hosts file from 127.0.0.1 localhost to 0.0.0.0 localhost
Restart the server.
Hope that helps
Maah Moussa

Axel Braun

unread,
Sep 23, 2017, 10:44:57 AM9/23/17
to try...@googlegroups.com


Am 23. September 2017 12:45:54 OESZ schrieb Maah Moussa <maahm...@gmail.com>:
>On Saturday, September 23, 2017 at 7:42:36 AM UTC, ulf.j.e...@gmail.com
>wrote:
>> Den lördag 23 september 2017 kl. 00:42:51 UTC+2 skrev
>ulf.j.e...@gmail.com:
>> > HI
>> > Im running suse leap 42.3
>> > with gnuhealth 3.2.2 installed with one click install
>> >
>> > My problem is that i cant get access to tryton other than local
>access.
>> > Im running postgresql
>> >
>> > I have tried to adjust pg_hba.conf to different settings
>> > Can someone help me to get it up an running. I dont care about
>security right now.
>> > I have tried several ours without success. We are working together
>with a hospital in Tanzania.
>> >
>> > Kind regards
>>
>> I have reached a little bit further.
>> I can connect with the IP adress when i connect local on the
>computer. It dosent work in remote!

Make sure the Tryton server listens to all incoming connections - setting in /etc/tryton/trytond.conf. Restart server after change. Check your router as well to allow connections on port 8000

>> Kind regerds
>
>Putting firewall off, Network Setup Method "NetworkManager Service"
>from Network Settings.
>Editing /home/etc/hosts file from 127.0.0.1 localhost to 0.0.0.0
>localhost

This may have some unintended side effects....127.0.0.1 is the standard for localhost

ulf.j.e...@gmail.com

unread,
Sep 24, 2017, 5:01:25 PM9/24/17
to tryton
I solved it. Added listen =*:8000
Under web.

Thanks
Reply all
Reply to author
Forward
0 new messages