Question

i am configuring mosquitto on ubuntu with the help of cloud but i am not able to run mosquitto mqtt on websockets

allow_anonymous false passwd_file /etc/mosquitto/passwd

listener 8083 protocol websockets certfile /etc/letsencrypt/live/mqtt.example.com/IndoAgro.pem cafile /etc/letsencrypt/live/mqtt.example.com/IndoAgro.pem keyfile /etc/letsencrypt/live/mqtt.example.com/IndoAgro.pem

this the entry of my log file

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

The configuration looks correct. Do you have port 8083 open via your firewall? Also what is the exact error that you get in the logs?