Linux/Ubuntu: Mosquitto: Enable mqtt service

PHOTO EMBED

Mon Aug 29 2022 15:50:24 GMT+0000 (Coordinated Universal Time)

Saved by @marcopinero #bash

#add this lines to /etc/mosquitto/mosquitto.conf

listener 1883
protocol mqtt

listener 9001
protocol websockets

#then restart service:  $> sudo service mosquitto restart
content_copyCOPY

Activate mqtt service using mosquitto on ubuntu server.