Local Community

Could not update hosts file/missing hosts entry

Issue Summary

One or two sentence summary of the issue.
asks for admin privilege’s and gives an error could not update hosts file. It also tells me missing C++ 2015-2019 redistributables depedency.

Troubleshooting Questions

  • Does this happen for all sites in Local, or just one in particular?

  • Are you able to create a new, plain WordPress site in Local and access it in a Browser?
    Site doesn’t get created until I close and reopen local but I can’t access it at all in browser and get an error upon trying to start site.


Describe the steps that others can take to replicate this issue. If you have screenshots that can help clarify what is happening, please include them!
Click start site and get error messages.

System Details

  • Which version of Local is being used?

  • What Operating System (OS) and OS version is being used?

    • For example: macOS Catalina or Windows 10 Professional
      windows 10
  • Attach the Local Log. See this Help Doc for instructions on how to do so:

Hi there @Crockoclock - welcome to the Local community! :wave:

Do you have anti-virus software installed on your computer that may be causing issues?

Here is some information and troubleshooting steps you can try related to anti-virus + Windows:

Let’s start there!

I only have windows anti-virus and I tried disabling it but it still didn’t work

Hi @Crockoclock

I’m not familiar with that error, but doing some Googling it seems pretty common. There are lots of videos and articles that might help you resolve it like these:

After that let us know if your Local issues persist, and if they do please share an updated Log. Retrieving Local’s Log File