URL to connect comulocity via MQTT

Dear Experts.

I have a doubts referents how to connect to the cumulocity via MQTT, what is the correct way to connect via MQTT?

Thanks

Hi Ruben,

the connection to the MQTT endpoint of Cumulocity is typically done via following settings:

Best regards
Christian

1 Like

Thank you for your help

In addition to what Christian wrote:

If you want to connect to MQTT via websocket you’ll need to append /mqtt to your URL

mqtt.<instance_domain> does not always work. mqtt.eu-latest.cumulocity.com or mqtt.cumulocity.com are specifically set up for our public cloud instances. For other instances, especially customer on premise instances this may not work. The you can always use the management tenant’s domain as connection URL.

2 Likes