Arduino Q tcp ports

I am building a project on Arduino Q and I want to use both Streamlit brick and WebUI brick.
The intended use is Streamlit for front end development and WebUI for starting a WebSocket server (other devices will implement WebSocket client and emit events to the server / consume events from the server.
Since out of the box both bricks default port is 7000 I explicitly create WebUI on port 7001 so that Streamlit uses 7000 and WebUI 7001.
The application starts correctly but the docker container does not map port 7001 so in the end I cannot connect to the Web socket server in any way.
I tried to understand from documentation and having a look to the bricks code what to change in order to map port 7001 as well, but I did not find any solution.
Can anyone help on this?

Thank you

Hi
did you change port in web_ui/brick_config.yaml? there is 7000 as default

may be try to add port to app.yaml like:

name: My app
description: ""
ports:
  - 7001
bricks:
  - arduino:web_ui: {}
icon: ⚡

Thank you very much, it worked perfectly.
Do you (or anyone else) know how can I change the configured Wi Fi network on my Arduino Q?
I selected the wrong one the first time I connected it to App Lab via my PC and I am not able to change it even if I click on the world icon on the bottom right AppLab window.

Thank you for your help!

Connect via xrdp or with keyboard/mouse.

There is also ssh way, but it is complicated.

If you don't have dongle and ssh, type adb shell and proceed with ssh tutorial.

Or, you can reflash it

Thank you. In the end I did it via the ssh way.
Riccardo