Yes, this is the effect of changing http_port and https_port.
You could forward 80 and 443 on your router to 8080 and 8443 on your Android to allow external access on the default ports, but that wont fix direct internal access.
For HTTP and ALPN challenges to work for ACME, this will be required.
I’m sorry,but your explanation sounds generic to me. I’m not experienced. I don’t understand if I should modify something on the router or in the Emby configuration or in the Caddyfile. I can’t believe that you aren’t able to be more specific. Be pratical,tell me which lines should I add and where.
You literally have the port forwarding window open here in your earlier post:
In that window, configure the ports as I explained above. Public ports 80 and 443. LAN ports 8080 and 8443.
There is nothing else to explain. That is what you have to do. I’ve reiterated it for the third time now; if you can’t configure your router, I cannot help any further.