Hello everyone! So I’ve recently managed to set up DuckDNS to work with my Home Assistant using this guide:
I’m coincidentally also using a NETGEAR router which is the same as the one used in the video, so I definitely got the port forwarding set up correctly. So after following the guide, I now can only access Home Assistant by using the DuckDNS URL (e.g.: https:// hassio. duckdns. org). The URL worked for both my computer and my phone. That is to be expected since the video mentions that after setting this up you can’t access Home Assistant using 192.168.1.XX:8123 or hassio.local:8123 anymore.
The problem for me is that I can only access Home Assistant using the DuckDNS URL from my home network. When I switched to cellular on my phone, the app won’t connect to HA. I even tried connecting my computer to my phone’s mobile hotspot and couldn’t connect either.
I don’t know if this is relevant, but on my web browser I tried entering my public IP and added port 443 (https:// x.x.x.x :443) and this is what I get:
So has anyone ever encountered this kind of problem? Thanks for your time guys!
I’m sorry Vlad, I guess I should’ve explained it better. What I meant to say was that port 443 was forwarded to port 8123 from the beginning (before you suggested me to do it), and I still couldn’t access HA from outside.
I changed my router settings to forward port 8123 (external) to port 8123 (internal) and now I could access HA from outside my home network using https://myurl.duckdns.org:8123. It seems like my ISP does block access to port 443. Does this mean that this is the only way I could get remote access to be set up? Is there a way for me to be able to access HA remotely using just https://myurl.duckdns.org?
Pardon me if I am breaking protocol, I’m new at this.
I too have been trying to set up HA for secure remote access with DuckDNS. Thanks for the link to the video. It solved my problem.
If your are still having a problem connecting through DuckDNS with your phone, the app configuration lets your define the “Home Assistant URL.” I’d forgotten that I had initially set it up for internal access, so I changed it to https://mydomain.duckdns.org and it works just fine.