Can't connect with Tools
|
|
---|---|
Hi, I am a beginner with Tango and I am trying to install Tango using two running docker containers, one with database, one with tango on a Debian Server. I share my docker code as it wasn't a plain work to build them following online resources. MYSQL Container
TANGO Container
I obtain the following log:
First question: For what I know it seems to me that is working, is it true from log? Second… now I want to launch Jive Astor and all the tools from a Windows Workstation. I installed the binaries and than created the following vars: MYSQL_USER root MYSQL_PASSWORD root TANGO_HOST 192.168.0.34:13306 TANGO_ROOT C:\Program Files\tango Now trying to launch Jive I get the following error:
I verified that mysql is accessible from the windows machine, so is not a connection problem, I suppose is a setting problem. Where is trying to connect to address 127.0.0.1:2809 ? Is Jive trying to connect to a localhost Tango server? I exposed on Tango docker container port 10000, should I expose more ports? On Astor I get the same error:
Any clue? Thanks |
|
|
---|---|
Hi, It looks like you misunderstood the TANGO_HOST concept. The TANGO_HOST environment variable is used to know how to contact the TANGO Database server (which will then talk to your MySQL server), not the MySQL server. So the hostname and port number given in the TANGO_HOST definition must be the hostname where your TANGO Database server is running and the port number must be the port number where your database server is listening to (10000 in your case it seems). Hoping this helps a bit. Reynald
Rosenberg's Law: Software is easy to make, except when you want it to do something new.
Corollary: The only software that's worth making is software that does something new. |
|
|
---|---|
Yes! Was helpful! This was the point… I was slipping on a banana peel. Now I can connect to server, thanks |