'Warning! Missing hosts entry. This site may be inaccessible" and "Uh-oh! Could not update hosts file

What issue or error are you experiencing?

I keep running into this error pertaining to the hosts file. I’ve followed a couple solutions that I’ve found here, however, I’m still running into the same error.

I’ve uninstalled and reinstalled the application.
I’ve unchecked the read-only attribute for the hosts file properties.
I’ve tried to manually add my site to the hosts file.

What steps can be taken to replicate the issue? Feel free to include screenshots, videos, etc

System Details

  • Local Version: Local v 8.2.1

  • Operating System (OS) and OS version: Windows 10 v 22H2

Local Logs

Attach your Local Logs here (Help Doc - Retrieving Local’s Log)
local-logs.zip (29.2 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 @jlgold2th

Have you checked for any other antivirus, security, or firewall applications that could be blocking Local?

Are you running other developer applications simultaneously? That could also cause similar issues. Apps like MAMP, XAMPP, or Docker for example.