locked
Problems connecting MQTT devices to the iothub RRS feed

  • Question

  • Earlier today all our devices were connected with MQTT. Now i'm not able to connect anything with MQTT.
    While testing using the c# DeviceClient the method SetMethodHandlerAsync times out.

    Thursday, November 9, 2017 2:40 PM

All replies

  • Hi, Kamak1

        Please check the issue on GitHub, it is similar with your problem, and it is closed. In Azure IoTHub, AMQP protocol use port 5671, and MQTT listens on 8883.  Use of these ports could cause problems in networks that are closed to non-HTTPS protocols, please see here. You can be with the help of iothub-diagnostics tool to diagnose issues with a device connecting to Azure IoT Hubs.

    Best Regards,

    Michael


    MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.



    Friday, November 10, 2017 8:11 AM