- HiveMQ Cloud (https://console.hivemq.cloud/) – only TLS (port 8883 or 8884(websocket));
- HiveMQ Public broker (http://broker.hivemq.com/) – no TLS, but all data is publicly accessible to any other user;
- HiveMQ that you install and host yourself – you can configure as you like, with or without TLS.
For a successful connection to HiveMQ Cloud example, I could find one with ESP32 here: ESP32:MqttHive:1:25: fatal error: ESP8266WiFi.h: No such file or directory - #7 by Mike
I hope this helps,
Dasha from HiveMQ team