could not connect to MQTT server OSError-202 #9557
-
I have been running Mike Teachman's pubishThingspeak.py for several weeks on one cell network, using a ESP32. I tried another cell provider and I got the above error. Also, I have tried on a fibre home network and it results in the same error. Do some network providers prevent Thingspeak's MQTT server from listening on port 1883 to my device? Thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Problem solved
I had set the first unit up with a static IP, which I didn't change when going to the following routers. The units still said that it had connected to the WiFi but having that line still in probably confused the ESP32 :( |
Beta Was this translation helpful? Give feedback.
Problem solved
I had set the first unit up with a static IP, which I didn't change when going to the following routers. The units still said that it had connected to the WiFi but having that line still in probably confused the ESP32 :(