Question

how do you open firewall for mqtt broker(mosquitto)

Posted March 5, 2017 3.7k views
Getting Started

how do you open firewall..?

The mqtt broker on droplet works when android mqtt client is used .I am assuming firewall is open.

only when using esp8826 the broker does not connect . which it does on local Raspberry pi mosquito broker
this is apart of my ESP response code
(
Attempting MQTT connection…failed, rc=-4 try again in 5 seconds
Attempting MQTT connection…failed, rc=-4 try again in 5 seconds
Attempting MQTT connection…failed, rc=-4 try again in 5 seconds
Attempting MQTT connection…failed, rc=-4 try again in 5 seconds
Attempting MQTT connection…failed, rc=-4 try again in 5 seconds
Attempting MQTT connection…failed, rc=-4 try )

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.

×
1 answer

@rajpat1

What OS is used on your Droplet?

Submit an Answer