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.
Do you have any antivirus, security, or firewall applications that could be blocking Local? It looks like from the log it might be having trouble connecting.
More details about troubleshooting this here: Router Mode
Are you running other developer applications simultaneously? That could also cause similar issues. Apps like MAMP, XAMPP, or Docker for example.
MAMP could be preventing Local from making changes to the machine. You could try just completely quitting it first, and then doing a reboot. If that doesn’t work you may need to do an uninstall.
You can’t grant access but you could edit the Hosts File manually, however Local will need to make changes to this often so it would quickly become a chore and would be better to address the source of the issue so it can work normally.
Are you still getting the “Can’t Update Hosts” errors or something different?
Now that you have MAMP and other stuff removed, maybe it will be worth trying a big refresh.
Export any sites that you have on Local and save them to a folder somewhere on your computer.
When the computer is restarted and turned on, close any applications that automatically run in the background (AntiVirus, Firewall, and other Developer applications included).
Check and see if the issue still persists. If so, please provide us with an updated log. Retrieving Local’s Log File