rajpat1
By:
rajpat1

how do you open firewall for mqtt broker(mosquitto)

March 5, 2017 599 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 )

1 Answer

@rajpat1

What OS is used on your Droplet?

Have another answer? Share your knowledge.