Skip to main content
Jun 23, 2017 1:59 PM UTC
Solved

Analytics builder - Which port and ip i have to use for linking analytics to Platform?

Hello,

i have created 2 parallel virtual machines: one with Thingworx platform 8.0 and one with Analytics 8.0 in the same server.

Which ip and port i have to type in analytics builder to link the 2 systems.

I have tried the analytics ip and it did not work, i have tried the server machine ip and again it did not work. For both cases i have chosen 8080 port.

In the first case also ping the ip it did not worked.

Any suggestion? Did i choose the right ip address? If yes, which port i have to put?

Thanks

cmorfinAnswer
Jun 26, 2017 10:26 AM UTC

Hi Marco

For the port,

      you can execute docker ps -a , then check the mapped port (on the left hand side of the mapping see in red below) ie:

CONTAINER ID        IMAGE                                    COMMAND                  CREATED            STATUS              PORTS                    NAMES

ca97d3cf76f0        twxml/analytics-server-docker:8.0.0      "/opt/analytics/an..."  2 weeks ago        Up 5 seconds        0.0.0.0:8080->8080/tcp  analytics


For the ip address:

- if on Windows 7, with docker toolbox, execute docker-machine ls , the ip address of the machine DockerMachinePTC will be shown there

- on linux, this should be the ip address of your Linux box


Before accessing externally, ensure you can connect locally on the machine


the information to enter in Builder  Endpoint Host should be of type:

<ipaddress>:<port>/analytics, for example : 192.168.99.102:8080/analytics


Hope this helps

Christophe

1 reply

cmorfinAnswer
Jun 26, 2017 10:26 AM UTC

Hi Marco

For the port,

      you can execute docker ps -a , then check the mapped port (on the left hand side of the mapping see in red below) ie:

CONTAINER ID        IMAGE                                    COMMAND                  CREATED            STATUS              PORTS                    NAMES

ca97d3cf76f0        twxml/analytics-server-docker:8.0.0      "/opt/analytics/an..."  2 weeks ago        Up 5 seconds        0.0.0.0:8080->8080/tcp  analytics


For the ip address:

- if on Windows 7, with docker toolbox, execute docker-machine ls , the ip address of the machine DockerMachinePTC will be shown there

- on linux, this should be the ip address of your Linux box


Before accessing externally, ensure you can connect locally on the machine


the information to enter in Builder  Endpoint Host should be of type:

<ipaddress>:<port>/analytics, for example : 192.168.99.102:8080/analytics


Hope this helps

Christophe