Tryton server 4.0.3 installation - "pip install trytond"

407 views
Skip to first unread message

Manuel Moura

unread,
Aug 16, 2016, 9:55:04 AM8/16/16
to tryton
Hi.

I installed trytond (via pip install) in Amazon EC2 Ubuntu 14.04 LTS after "apt-get install postgresql-9.3 gcc zlib1g-dev libxslt1-dev libxml2-dev python-dev cython python-setuptools python-pip python-dateutil python-sql".

Because I did not found any "trytond.conf" file I created a new one in my ubuntu home with the statement inside:

[jsonrpc]
# Listen on all interfaces (IPv4)
listen = 0.0.0.0:8000

I enter the command "trytond -c trytond.conf &"

yet, the ntstat result is still:
Proto Recv-Q Send-Q Local Address           Foreign Address         State     
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN    
tcp        0      0 127.0.0.1:5432          0.0.0.0:*               LISTEN    
tcp        0      0 127.0.0.1:8000          0.0.0.0:*               LISTEN

And I still can not access the server from my PC.

Can you help me to find what I´m doing wrong?

Thanks.
MMoura

Sergi Almacellas Abellana

unread,
Aug 16, 2016, 9:58:02 AM8/16/16
to try...@googlegroups.com
El 16/08/16 a les 15:39, Manuel Moura ha escrit:
> Hi.
>
> I installed trytond (via pip install) in Amazon EC2 Ubuntu 14.04 LTS
> after "apt-get install postgresql-9.3 gcc zlib1g-dev libxslt1-dev
> libxml2-dev python-dev cython python-setuptools python-pip
> python-dateutil python-sql".
>
> Because I did not found any "trytond.conf" file I created a new one in
> my ubuntu home with the statement inside:
>
> [jsonrpc]
> # Listen on all interfaces (IPv4)
> listen = 0.0.0.0:8000

On version 4.0 you have yo use the web section to define where the
server will listen. See:

http://doc.tryton.org/4.0/trytond/doc/topics/configuration.html#topics-configuration

Otherwise, the default configuration (listen ony to localhost) is used.

>
> I enter the command "trytond -c trytond.conf &"
>
> yet, the ntstat result is still:
> Proto Recv-Q Send-Q Local Address Foreign Address
> State
> tcp 0 0 0.0.0.0:22 0.0.0.0:*
> LISTEN
> tcp 0 0 127.0.0.1:5432 0.0.0.0:*
> LISTEN
> tcp 0 0 127.0.0.1:8000 0.0.0.0:* LISTEN
>
> And I still can not access the server from my PC.
>
> Can you help me to find what I´m doing wrong?
>
> Thanks.
> MMoura**
> **


--
Sergi Almacellas Abellana
www.koolpi.com
Twitter: @pokoli_srk

Manuel Moura

unread,
Aug 16, 2016, 10:30:06 AM8/16/16
to tryton
Thanks, Sergi.
Simple solution... :-)
Works great.
MM
Reply all
Reply to author
Forward
0 new messages