On 2017-06-03 08:08, Dr. Praveen Bhatia wrote: > > > On Saturday, June 3, 2017 at 9:29:57 PM UTC+9, Dr. Praveen Bhatia wrote: > > > > > > > > On Saturday, June 3, 2017 at 6:35:07 PM UTC+9, Cédric Krier wrote: > >> > >> 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 > >> > >> > > When I do: > > sudo netstat -lnp --inet | grep 8889
But you are talking about 8888 > On reboot I could get rid of this error. However, it seems to assign it to > localhost port only and not the aws address 111.222.333.444:8888 > When I try to connect from my PC by tryton client 111.222.333.444:8888 it > is not able to connect to the server and hence find no list of > databases..... So what am I doing wrong? I guess you have a firewall so you must allow external to connect to this port. -- Cédric Krier - B2CK SPRL Email/Jabber: [email protected] Tel: +32 472 54 46 59 Website: http://www.b2ck.com/ -- You received this message because you are subscribed to the Google Groups "tryton" group. To view this discussion on the web visit https://groups.google.com/d/msgid/tryton/20170604000159.GG3584%40kei.
