![Automation Direct Stride SGW-MQ1611 Скачать руководство пользователя страница 49](http://html1.mh-extra.com/html/automation-direct/stride-sgw-mq1611/stride-sgw-mq1611_user-manual_3021759049.webp)
Appendix C: MQTT Broker Examples
C-3
Stride MQTT Gateway User Manual, 1st Edition
Example using Mosquitto
Mosquitto is primarily an MQTT broker software intended to be installed on your own server. A public
test server is available, however, and can provide a quick verification that all parts of the IIoT system are
functioning properly.
This example is designed to verify the MQTT functionality and the network path. Be sure that a valid
Default Gateway is specified (LAN IP address of the router) and accessible DNS addresses are being used to
be able to access the Broker Address URL. If in doubt on the DNS addresses, use Google’s DNS addresses
of 8.8.8.8 and 8.8.4.4.
To test the MQTT connection using “test.mosquitto.org”, use the settings as shown below in the “MQTT”
section of the setup.
There are a few different port options depending upon if encryption is being used or not, but for the sake of
simplicity port 1883 (unencrypted) is being used in this example.