FORUM CTRLX AUTOMATION
ctrlX World Partner Apps for ctrlX AUTOMATION
Dear Community User! We have started the migration process.
This community is now in READ ONLY mode.
Read more: Important
information on the platform change.
03-21-2022 03:54 PM
Hello,
I'm trying to run datalayer.register.node example on my laptop. I changed IP addr in the example to point to my ctrlX CORE Vitrual, but it's not working.
My connection string is
tcp://boschrexroth:boschrexroth@172.31.7.169:2070
In wireshark I don't see attempts to connect to the port 2070, instead it tries to connect to the port 443.
I tried to change port in the connection string, but it doesn't help.
Is it possible to connect to the datalayer from developer machine?
I'm using SDK 1.12.1 and datalayer 1.7.5
Solved! Go to Solution.
03-22-2022 08:19 AM
Hello arizhih,
This should work. I just tried it with my ctrlX CORE virtual at 192.168.1.1 and this connection string:
"tcp://boschrexroth:boschrexroth@192.168.1.1:2070"
You can see a connection to Port 433 at first, because the client tries to register itself to the https port of the ctrlX CORE first. Before it starts the actual tcp connection at port 2070.
Please have a look into your ctrlX CORE virtual and check the following points:
Best regards,
Nick
03-22-2022 09:05 AM
Hello Nick,
Thanks a lot, now I see the problem. I'm using port forward and my ctrlX CORE Virtual available on port 8443. I've changed it to 443 and now all works fine.
Maybe you know how to use datalayer with non standard port?
Best regards,
Andrey
03-22-2022 09:22 AM - edited 03-22-2022 09:23 AM
Hello Andrey,
great that it works for you now.
You could change your connection string to something like this:
"tcp://boschrexroth:boschrexroth@<ip>:2070?sslport=8443"
03-22-2022 09:50 AM
Nick,
It worked, thanks a lot!
Best regards,
Andrey