Nextcloud version (eg, 12.0.2): 13.0.0
Operating system and version (eg, Ubuntu 17.04): Raspbian Stretch Lite (Kernel: v4.9)
Apache or nginx version (eg, Apache 2.4.25): Apache 2.4.25
PHP version (eg, 7.1): 7.0.27
The issue you are facing:
I’d like to access nextcloud from outside my local network through HTTPS. I’ve set up port forwarding in my router so that requests to port 8080 go to the server’s port 80, and requests to port 4443 go to the server’s port 443. Plain HTTP works, but when I try to access https://mydomain.ddns.net:4443/nextcloud, I get the error “Unable to connect”. The error persists even if I change the port forward to 443 --> 443.
Your reply made me realize what the problem was. I tend to forget I use 2 routers and I forgot to set up the port forward on the second one… Now it works.
Thanks for the hint and especially the quick help! Much appreciated!