why is Esp 8826 mqtt example given in arduino ide not able to connect to Mosquito broker.

March 4, 2017 2.3k views
Getting Started Ubuntu

using mqtt with esp8826 from example code in arduino ide mosquito broker running on droplet properly but gives following message from esp 8826 ( Attempting MQTT connection...failed, rc=-4 try again in 5 seconds )

not able to resolve this for some reason

1 comment
1 Answer

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

Have another answer? Share your knowledge.