Configure mosquitto to use websockets
Add the following lines to /etc/mosquitto/mosquitto.conf
in the “Default Listener” section:
port 1883
listener 9001
protocol websockets
Add the following lines to /etc/mosquitto/mosquitto.conf
in the “Default Listener” section:
port 1883
listener 9001
protocol websockets