Hi
i am try to use the MQTT example from the IDE to connect a MQTT broker using the Ethernet sheild.
i changed the ip address of the Arduino Uno that i am using according to my network.
Still no connection.
I used the MqttPubSub example and same problem - i'm getting rc=-2 error.
the why do you ask about MQTT?
what does the WebClient example print?
did you connect the shield to a router or to computer? if to computer, connect it to router