Hello everyone,
I’m working on an IoT project using ESP8266 + B4R, and everything works perfectly on a normal Wi-Fi network.
However, when I switch to a mobile network (4G/LTE), the device cannot connect to the MQTT broker using port 1883. The connection either fails or drops immediately.
I’ve read that many mobile operators block port 1883 for security reasons.
My questions are:
Is this really common / expected behavior on mobile networks?
Is the problem related to the ESP/B4R or is it purely a network/operator restriction?
What is the recommended solution for MQTT over mobile networks?
MQTT over TLS (port 8883)?
MQTT over WebSocket (port 443)?
Or switching to HTTPS instead of MQTT?
I’d appreciate hearing real-world experiences and best practices, especially from B4R users.
Thanks in advance.
I’m working on an IoT project using ESP8266 + B4R, and everything works perfectly on a normal Wi-Fi network.
However, when I switch to a mobile network (4G/LTE), the device cannot connect to the MQTT broker using port 1883. The connection either fails or drops immediately.
I’ve read that many mobile operators block port 1883 for security reasons.
My questions are:
Is this really common / expected behavior on mobile networks?
Is the problem related to the ESP/B4R or is it purely a network/operator restriction?
What is the recommended solution for MQTT over mobile networks?
MQTT over TLS (port 8883)?
MQTT over WebSocket (port 443)?
Or switching to HTTPS instead of MQTT?
I’d appreciate hearing real-world experiences and best practices, especially from B4R users.
Thanks in advance.