Skip to main content
1-Visitor
September 24, 2020
Question

difficulty finding host and port on server trial version

  • September 24, 2020
  • 2 replies
  • 2713 views

Hello, 

I have the 90 days trial version of ThingWorx Foundation.

 

On the guide to Use the ThingWorx Azure IoT Hub Connector with simulated appliances, i can't find the host and the port. 

What i am supposed to put for : 

    transport.websockets {
        // ThingWorx platform application key
        app-key = "xxxxxxxxxxxxxxxxxxxxxxx"

        // One or more platforms can be specified here, comma separated
        platforms = "wss://<host>:<port>/Thingworx/WS"   <== here 

Thank you very much 

 

2 replies

5-Regular Member
September 24, 2020

Create an application key from Thingworx composer by logging into https://PP2009221255A9.devportal.ptc.io/Thingworx .

 

Use this app key in the azure-iot.conf like app-key ="paste the app-key here" and

platforms= "wss://PP2009221255A9.devportal.ptc.io:8443/Thingworx/WS

 

 

 

 

1-Visitor
September 24, 2020

Thank you for your fast answer.

I did as u said but still can't connect. 

I'm 99% confident about the settings from azure i entered in the config file. 

Any idea ? 

cf screenshots below 

connectionfailed.PNGconnectionfailed2.pngconnectionfailed3.png

5-Regular Member
September 24, 2020

Thanks for sharing the screenshots, I am not sure but are you trying to connect Azure IOT hub connector version 2.0 with Thingworx 9.0 ? I think that's what you mentioned in your first post. Azure iot hub connector version 4.0 is supported with Thingworx 9.0 you can also check complete setup details here as well - http://support.ptc.com/help/thingworx/connection_services/en/index.html#page/thingworx_cx_services%2Fazure_connector%2Fc_azure_connector_hc_top_level_page.html%23 .
And if I have mistaken in your ThingWorx version then please let me know, hub connector version 2.0 is supported on versions prior to 8.5 .

Community Manager
October 13, 2020

Hi @NN_9640323.

 

If one of the previous responses were helpful, please mark the appropriate one as the Accepted Solution for the benefit of others with the same issue.

 

Thank you for your participation in our community!

 

Regards.

 

--Sharon