Issue with remote access - no local connection

hi,
i changed the main router and i cant access hass from mobile app (android) / firefox browser from local network using https://xxx.com:port … why? this is completely strange behavior, that i can access it from different remote IP via port forwards but connected to local network via wifi /ethernet i cant Access it at all.

I have main router port forward 8333 to 8123 (of lan router) on lan router 8123 to 8123 of rpi4 where hass is running.

in home assistant android app i set
home assistant url https://xxx.com:8333
home network wifi sssid my essid
internal connection url
httpps://rpi4 ip:8123/

also from locally connected pc i cant access remote url
https://xxxcom:8333
any idea?
more then unbelievable! i cant access it from local device connected to the local network via public ip/port; when i connect that device to other network i can access it via public ip/port … nonsense.

I can access HASS from locally connected devices using only local ip:8123

inside log i can see also
Logger: homeassistant.components.hassio.ingress
Source: components/hassio/ingress.py:189
Integration: Home Assistant Supervisor (documentation, issues)
First occurred: 7:18:51 PM (3 occurrences)
Last logged: 7:19:05 PM

Can’t set forward_for header, missing peername

Your new router does not support NAT loopback (hairpinning).

hi @tom_l
yes it seems like, and i assume there is no way how to “hack it” and make it work … on openwrt router… thanks

Openwrt does support NAT loopback. You should ask how to configure it correctly on the openwrt forums https://forum.openwrt.org/

@tom_l seems that both routers should support ie isp router ; and openwrt router. My isp router doesnt so its not working even openwrt does…

seems that Reverse proxy is the only one solution for that.

fixed via DNS server configuration