Skip to main content
13-Aquamarine
October 28, 2022
Solved

IoT Hub Connector & Ports

  • October 28, 2022
  • 2 replies
  • 2609 views

Hello,

 

I have a Thingworx application installed on a development environment and using the IoTHub connector. We are able to receive files from Azure through the IoT Hub connector.

On a future production environment we are not able / allowed to open ports on the Thingworx machine. The communication to Azure should be possible, but no port opened from azure to the connector. Will the IoTHub connector work correctly? Do you know which ports should be opened to use the IoT Hub connector?

Best answer by VladimirRosu_116627

There is no inbound port opened from Azure to our connector.

The outbound ports are mentioned in the Azure documentation, since they are specific to Azure IoT Hub, https://learn.microsoft.com/en-us/azure/iot-hub/iot-hub-devguide-protocols . We don't use the Websockets parts. But again, these are outbound ports, so most probably you do not need to setup anything - except if your IT infrastructure is strict and by default blocks these ports as well.

2 replies

24-Ruby III
October 28, 2022

 Hi,

 

gch13-AquamarineAuthor
13-Aquamarine
October 28, 2022

Thank you, I already had a look to this documentation but I could not find any ports used except 9009 used by the health monitor but Optional

gch13-AquamarineAuthor
13-Aquamarine
November 4, 2022

Hi, Any other information on the required port communication on the IoTHub connector machine?

pshashipreetham
18-Opal
18-Opal
November 5, 2022

Hey Hi @gch,

I have the same Senrio, we shouldn't open any PORT on PROD. So I have used port 80. So twx opens when iot.ABC.com:80 also opens up iot.ABC.com. That's how port 80 works.

Or you can try port 443 if the URL is in HTTPS.

Thanks,

gch13-AquamarineAuthor
13-Aquamarine
November 16, 2022

Hi Shashi, Port 80 / 443 are used for the communication with Thingworx which is not a problem since inside the Network, the issue is the communication to the outside / to Azure where it is not clear to me if or which port are used