Microsoft Edge cannot resolve homeassistant.local - Solution

After setting up HA on Raspberry Pi, I added a local hosts entry in C:\Windows\System32\drivers\etc\hosts

192.168.x.x homeassistant.local homeassistant

After that, I could ping homeassistant.local from a command prompt, but Microsoft Edge was unable to connect to http://homeassistant.local:8123. Furthermore, I noticed the site resolves using Google Chrome.

Turns out it had to do with Microsoft Edge security settings:

  1. Open Microsoft Edge settings
  2. Open Privacy, search and services
  3. Scroll down to Microsoft Edge Secure Network, Optimized is selected
  4. Select Manage Secure Network sites
  5. Add homeassistant.local to Never use Secure Netwrok for these sites

Now the name resolution works.

1 Like