Fail Connecting EmonTX+ESP8266 to Azure IoT HUB using MQTT protocol

Hi Julian, welcome.

There is another thread re MQTT Custom Port running. EmonESP Custom MQTT Port - what version are you running? @glyn.hudson is the man for the ESP Firmware.

I’d suggest this is best raised as an Issue on GitHub.