Unable to Uninstall HA on Windows 7

Windows 7 enterprise laptop here using Python 3.6.0. I needed to install a custom program from my employer that also uses port 8123. Whenever I tried using the employer URL “http://localhost:8123/npsharp/kiosk/pos0025/” the Chrome browser displays the HA login page. The same page shows if I just try “http://localhost:8123/”.

I tried changing the port number in the YAML config file but it behaved the same. So I ran “pip3 uninstall homeassistant” and it uninstalled. I then rebooted. However, the same login page comes. When I try logging in it says “unexpected error”. How do I permanently remove the process that is listening on port 8123? My employer won’t let me change the port of the custom application. I don’t even see any processes listening on that port when I execute netstat -ano from the command line, so I can’t identify and kill the process even temporarily.

Now I just tried switching browsers to IE11 and I get a different behavior. Trying “http://localhost:8123/” results in IE showing a message “This page can’t be displayed”.

Totally stumped here. Any suggestions would be greatly appreciated.

you don’t need to uninstall it. You need to clear the cache on your browser. That is why you got the error notification in IE. Since you never used IE it didn’t cache the page.

I had tried that already but it didn’t help. Tried again just now, same result. Any other ideas?

So, I can re-create the same thing on my work pc by tunneling to my HA setup and browsing to localhost:2000 and then shutting down the tunnel.

On chrome, I can get back to a blank page (“this site can’t be reached”) by browsing to localhost:2000 and then opening the developer tools (ctrl+shift+i) and then selecting the tab “application” and choosing Clear Storage and then Clear Site Data.

Browsing to the local host now provides a blank error page. If you don’t use chrome, you should be able to google how to clear a single website cache for firefox. Even then, you don’t even need to clear the cache. Start up the new tool and browse to the correct location. If it shows HA just do a ctrl+f5 and it should bring up the other tool.

1 Like

Worked like a charm! Thank you. I don’t know why the standard cache clearing tools accessible via Chrome’s “Clear Browsing Data” (ctrl+shift+del) did not work. Perhaps it is because I only chose to clear “cached images and files” and should have instead also included “cookies and other site data”. The ‘other site data’ might have done the trick in hindsight. I will never know. Anyway - thanks again!