...
Test the connection with a different MQTT client.
We recommend using the MQTT-CLI command-line tool.Attempt to connect using your hostname, port, and credentials.
Expand | ||||
---|---|---|---|---|
| ||||
Connect MQTT clientsSubscribeTo connect to your HiveMQ Cloud cluster and subscribe to the topic You are asked for the password for the user
This is your first connected MQTT client, that is subscribed and waiting for incoming messages. PublishTo create another client and send messages to your cluster, open a second terminal window and enter the following command: (keep your original terminal window open)
The message To publish another message, just run the |