Unable to connect to server when i'm in local network

Hi.
I use Duck Dns addon in HASSio.
So when i use https://myaddress.duckdns.org eveything works fine only when im on LTE in iphone.
When im back to wifi i have shared token error 1 and i can’t login to server.
How can i use this in wifi?

Your router has to support loopback… a lot don’t