What are the entries needed in the /etc/hosts file?

This is using Windows 11.

What are the entries Local wants to write to the /etc/hosts file?

I able to edit/modify the /etc/hosts file manually, but am not sure what to add to make Local work with my site(s).

Here my current hosts file content:

::1 mysitename.local mysitename.local

I tried changing the permissions on the C:\Windows\system32\drivers\etc\hosts file to allow Local to write to the file - no luck. I also disabled my Virus & Threat protection. No luck. Local is still unable to write to the hosts file.

System Details

  • Local Version: Version 9.0.4+6699

  • Operating System (OS) and OS version:

  • Edition Windows 11 Home
    Version 23H2
    Installed on ‎10/‎5/‎22
    OS build 22631.3810
    Experience Windows Feature Experience Pack 1000.22700.1020.0

Local Logs

Attach your Local Logs here (Help Doc - Retrieving Local’s Log)

local-lightning.log (31.1 KB)

Security Reminder
Local does a pretty good job of scrubbing private info from the logs and the errors it produces, however there’s always the possibility that something private can come through. Because these are public forums, always review the screenshots you are sharing to make sure there isn’t private info like passwords being displayed.

Hi @resilientech

Is this a work issued machine? Are you an admin user?

Can you review the items here?