Maybe this should be very apparent but I’ve not been able to successfully wrap my head around how to do it.
I have a NUC with Debian 9 installed on it that runs HA as a service. I had a small issue with my router yesterday but I wasn’t home to fix it and thought it would be nice if I could use HA to toggle an outlet (non-wifi, DUH) to reboot the router. Then I realized that if the router was completely down (no IP access to the NUC at all, even on the LAN) I wouldn’t have any access to the HA frontend either. The automations would still (mostly) work but I couldn’t interact with HA.
How would someone gain access to their HA frontend from the desktop of the machine that HA is installed on assuming the home network doesn’t exist?
On the desktop of the NUC i use the firefox browser. I’ve tried http://localhost:XXXX (my HA port) but it doesn’t do anything. I tried 127.0.0.1:XXXX and then I get a “the connection was reset”. If I use https then it says that “your connection is not secure” and to bypass that I need to do other stuff in the advanced tab.
If you have https: setup, you need to use the https address lie you stated in your second last paragraph, then accept the advanced, proceed to insecure website warning in the browser.
This is because you don’t have a certificate for the website 127.0.0.1 (it will be for your duckdns or whatever address)
Then you should be able to get the page open
I have had a similar issue myself - although my hass is running on a headless pi, and I use the pi internal ip address.
When I go to the advanced tab and then click on “add exception” I get another pop-up. There I have an option to “get certificate” for the 127.0.0.1:XXXX address. Is that what I want to do? I assume so since that is the only real choice to continue… I just didn’t want to do something wrong and break my install.
you probably wont have a certificate. try do not accept and see if it works
Otherwise try yes - it will likely complain that the certificate is not valid for the site (due to different ip/address) - accept the risk and you should be in
I thought I had to click “get certificate” then click “confirm security exception” but on your advice I just clicked on the “confirm” button and voila…