Uh-oh! could not update hostes file

Hi everyone, I am getting errors when creating a new localhost, I don’t know how to fix this problem, please guide me.

I have Windows 11 version 23 H2

Also, I don’t have any antivirus and I only use Microsoft’s default Windows Defender

Screenshot 2024-06-03 155842

Hi @Salizan

Can you make sure your Hosts File isn’t set to Read Only?

Additionally, are you running as an administrator?

Select Start > All Programs > Accessories, right-click Notepad, and then select Run as Administrator

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.