#add this lines to /etc/mosquitto/mosquitto.conf listener 1883 protocol mqtt listener 9001 protocol websockets #then restart service: $> sudo service mosquitto restart
#add this lines to /etc/mosquitto/mosquitto.conf listener 1883 protocol mqtt listener 9001 protocol websockets #then restart service: $> sudo service mosquitto restart