I flash this code (Cayenne-ESP8266Interface - Example for connecting to Cayenne using the ESP82… | Mbed) on my Nucleo STM32F401RE which is connected with a ESP8266 wifi module. I have followed the tutorial about how to connect device on Cayenne platform and after compiling i get this error:
Connecting to 220.127.116.11:1883
MQTT connect failed, error: -1
Connection failed, exiting
What is wrong?
Thank you in advance.