Using an online MQTT broker
There are many online MQTT brokers available out there. We will see two options: Mosquitto and HiveMQ.
These two MQTT services offer a free layer to make tests and proofs of concept. Let’s see each of them.
Mosquitto
As you can guess, this MQTT broker is based on the Eclipse Mosquitto MQTT server/broker. You can find information about this broker here: https://test.mosquitto.org.
This MQTT broker should be used just for testing purposes. It is offered as a service for the community and sometimes can run experimental code. In this way, either the testers or the developers can benefit from its use.
The server listens on the following ports:
1883
: MQTT, unencrypted, unauthenticated1884
: MQTT, unencrypted, authenticated8883
: MQTT, encrypted, unauthenticated8884
: MQTT, encrypted, client certificate required8885
: MQTT, encrypted, authenticated8886
: MQTT, encrypted, unauthenticated8887
: MQTT, encrypted...