Defines the behavior of the web interface.
Defines the couple of host (or IP address) and port number separated by a colon to listen on.
Default localhost:8000
Defines the root path served by GET requests.
Default: Under the www directory of user’s home running trytond.
On 2017-06-03 02:10, Dr. Praveen Bhatia wrote:
> If the global ip address on aws is say 111.222.333.444 and custom tcp ports
> 8888-8890 are opened, is the following correct in the config file?
>
> listen=111.222.333.444:8889 OR listen=*:8889
Using * means all interface but using a specific IP is only for the
interface with this IP. Using specific IP could be annoying if the IP
change.
> hostname=111.222.333.444
> root=~/mytryton
>
> Trytond start:
> trytond -c /etc/trytond.conf &
>
> GIVES ERROR : Address already in use
>
>
> Also, Is the correct Access from tryton client:
> tryton -c /etc/trytond.conf -p 8889 -s 111.222.333.444
>
> Is the above correct usage?
I see nothing wrong here.
> All combinations I try keep giving the error
> "Address already in use"
You have another process that is already using this address.
You have to find it.
I use this command to find it:
$ netstat -lnp --inet