Loggin with client do not work - Webbased is working

I can’t loggin to my https:mydomain.com:XXXXX either on desktop or android client.
After pressing the loggin button it keeps turning almost endless.

Loggin with the IP adress is working fine on the clients. But obviously I would like to connect also when I’m not in the network.

If I loggin with the same url I can loggin witoun any problem.

Official TLS certificates don’t usually support the use of ip addresses to establish a secure connection to your server. My recommendation therefore is, to always use a DNS name and to setup a DNS server on your LAN to if necessary.

Thanks for the reply, this is what do not work. It seams that the clients do have problem with the DNS https.