Print

List of Popular MQTT Brokers for Testing : How to Connect to them

 

List of Popular MQTT Brokers

There are plenty of viable managed and self-hosted MQTT brokers available. Here is an overview of some of the most popular options.

You can test these MQTT Brokers below. Some of them are free and/or require an account and monthly fee.

The free versions are only there for your tests, not to be used in your application/production.

Important: If you use a certificate you need to be sure that Date and Time of your Gateway id up to date

MQTT Broker WebsIte
EMQ X MQTT IoT Cloud
https://www.emqx.com/en/mqtt/public-mqtt5-broker
SHIFTR https://shiftr.io/get-started
HIVEMQ https://www.hivemq.com/public-mqtt-broker/
Download the TLS certificate here
MOSQUITTO https://test.mosquitto.org/
CLOUD MQTT https://www.cloudmqtt.com/

 

How to Connect to them

With MQTT-Explorer

Try to connect the MQTT.Explorer to one of this Broker. If success, you can do same with your Gateway.

Exemple for HIVEMQ Broker with TLS Certificate and MQTT-Explorer Software

  • Enter the IP address (Host) of the Broker. This is your personal IP address under your HIVEMQ account.
  • Port number is 8883 for TLS. (1883 for no TLS)
  • Enter your username and password.
  • Select the „Encryption (tls)“ switch
    • Date and Time of your PC must be up to date
  • Donwload the certificate
    • Click [Advanced]
    • Click [Certificates]
    • Click [Server Certificate (CA)]
    • Search and Select the certificate (for HIVEMQ here)
    • Click [Back] then [Back] again
    • and [Connect]

 

With your ACE-GTW-4G Gateway

Exemple for HIVEMQ with TLS Certificate and our ACE-GTW-4G Gateway

Go to Gateway > MQTT Configuration

  • Enter the IP address of the Broker. This is your personal IP address under your HIVEMQ account.
  • Port number is 8883 for TLS. (1883 for no TLS)
  • Enter your username and password, possibly with inverted commas („).
  • Check the „Use the Certificate“ box
    • With TLS, don’t forget to update the Date and Time of your Gateway (See System > System)
  • Donwload the certificate
    • Click [Select file…]
    • Click [Upload file…]
    • Search and Select the certificate (for HIVEMQ here)
    • Click [Upload file…]
    • and Click on the certificate name

 

 

About Time Synchronization

  • You can use these IP address as NTP server candidates
    • 51.178.43.227
    • 162.159.200.123