Exposing ports of EMQX container via public balena device URL


Here is my problem:

I can’t connect to EMQX MQTT broker through balena device url via ws/wss/mqtt protocols on a specific port.
E.g. wss://<device_id>.balena-devices.com:8084

I’m trying to connect a web application via wss or mqtt to a container on the device. Currently only port 80 works and as I understand only via http/s. Is there any way to enable a ws, wss or mqtt connection through the device URL? It doesn’t say anything about other ports in the docs.

I have a multicontainer setup with the ports to be accessed exposed to the host.


Answering my own question here…

Only http traffic is supported, so what I want to do won’t work. More info here