HiveMQ MQTT Client is an MQTT 5.0 and MQTT 3.1.1 compatible and feature-rich high-performance Java client library with different API flavours and backpressure support
I am trying to connect and subscribe to our broker over internet.
Actual behavior
Connection is successful but when new value is sent to broker from another device, subscription callback is not being called. But this works normally if I am in same LAN as broker. I tried different devices and different networks, even cellphone hotspot but if client and broker are not in same LAN, subscription doesn't work.
If use other client like Paho it works even outside LAN, so it's not problem in the broker.
Expected behavior
I am trying to connect and subscribe to our broker over internet.
Actual behavior
Connection is successful but when new value is sent to broker from another device, subscription callback is not being called. But this works normally if I am in same LAN as broker. I tried different devices and different networks, even cellphone hotspot but if client and broker are not in same LAN, subscription doesn't work. If use other client like Paho it works even outside LAN, so it's not problem in the broker.
Reproducer code
Details