I succesfully deployed a MQTT broker as a service in the App platform.
I’ve used a dockerfile with the eclipse-mosquitto image.

Everything seems fine from the internal console: I can publish and suscribe easily.

But I cannot access from outside, even changing ports in mosquitto.conf

I have two questions:

  1. How do I redirect the ports?
  2. The communication from outside is automagically in a TLS channel or not?

Thanks a lot, Willy Pregliasco

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

Hey there!

In App Platform all apps would be accessed over port 443 using TLS. No other ports are exposed or available. Internal_ports within App Platform however do support all TCP protocols. A bit more details on MQTT in App Platform can be found here.

Hope it helps!