I wanted to setup a local server and still be able to access it from outside my network.
To achieve that, I forwared port 9443. If I want to log into the server with the Legacy app using the
myFritz address (“XXX.myfritz.net”), I cant get it to connect.
However, if I look up the IP in terminal using ping XXX.myfritz.net and use that in the app (so in the form of “XXX.XXX.XXX.XXX”), it works. Accessing the webserver via the myFritz address in a browser works aswell. Only the app does not connect.
Your DDNS service needs to know what the current public IP address of your router is. This will change occasionally (or possibly frequently depending on your ISP) and will almost certainly change when you reboot the router.
I’m not familiar with the Fritzbox, but presumably you have to tell your router the details of the myFritz account you created and the the credentials to use when doing the update?
The router and myFritz account are connected and work fine. I use the myFritz URL for all kinds of stuff.
Plus, I can use the myFritz address in a Browser to access the servers webserver.
I just tried to use the myfritz address in a sketch and uploaded it to a ESP8266.
It can communicate with the server just fine. Only the App does not like it.
I just tried dynv6.com, but it still doesnt work. I can access the webserver with a browser, but the app is unable to log into the server using a DDNS. Looking up the IP by pinging the DDNS and using the IP directly in the app works though.
Yes! I am outside the network this whole time! I know I cant use a DDNS from inside the same networks as the server is in.
Accessing the server using https://XXX.myfritz.net:9443 in a random browser gives me access to the admin panel. But using XXX.myfritz.net in the app does not. Really weird