Question

Access Mosquitto MQTT via Nginx

I did a droplet with Nginx, Node-red, and Mosquitto because I want to send MQTT message from a RaspberryPi to the droplet. I adjusted the Nginx based on this page: https://iotassistant.io/home-assistant/install-mqtt-websockets-on-nginx/ I configured Mosquitto as the DO tutorial was supposed. Nevertheless, I cannot reach the Mosquitto from my RaspberryPi. What can I do in order to send messages from RaspberryPi to the droplet?

Thanks for your help!


Submit an answer

This textbox defaults to using Markdown to format your answer.

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

Sign In or Sign Up to Answer