Can't update the Hosts File (Windows 11)

What issue or error are you experiencing?

Uh-oh! Could not update host files
Uh_oh


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


System Details

  • Local Version:
    Version 8.2.1+6583

  • Operating System (OS) and OS version:
    |Edition|Windows 11 Home|
    |—|—|
    |Version|22H2|
    |Installed on|‎2/‎1/‎2023|
    |OS build|22621.3155|
    |Experience|Windows Feature Experience Pack 1000.22684.1000.0|


Local Logs

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

Is there a way I can manually update the hosts file?

Hi @Art_Maverick

You’ll want to check if the Hosts File is set to Read Only as this could be preventing Local from making updates.

Additionally, do you have any antivirus, security, or firewall applications that might be interfering as well?

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

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.