Connection to hivemq cloud

Hello,

I wand to get into the mqtt business. For test purposes I use a free cluster and have no problems to connect via the web client of hivemq. but when i try to connect via mqtt fx i can not get access. the error message is only “mqttexception: connection lost”.

tried some devices as well. like my esp32 with different binaries. all the same. Followed through the “get started” documentation. But no luck yet.

Christian

Hello Christian,

Welcome to HiveMQ Community. First of all, let’s try to check if you are able to reach out HiveMQ Cloud instance from your computer. Can you please open a Windows PowerShell console, execute the command below and share the results?

Test-NetConnection YOUR_HiveMQ_Cloud_URL -Port 8883

Sample screenshot

Best regards,
Diego from HiveMQ Team