Home assistant, docker raspberry pi, host mode not wroking

Hi im struggling with this issue for a while,
Im using home assistant on my raspberry pi using docker. When I expose port 8123 I can see the front from other devices on my network but when I REMOVE ports and use host mode on the docker container I can not open the UI.
I tried telnet to port 8123 on my raspberry pi and it was not even open.

I read many posts but I couldn’t find any solution.
I will be thankful if anyone can help me

What OS is installed on the Pi?

Somebody on Discord was having issues with Ubuntu doing strange things.

I have Rasbian but it seems it is based on Debian bullseye might be the same issue did he fix it somehow?

Raspbian should be fine, though I’d check that you’ve not installed/enabled any firewall (like ufw).