# Error message and cannot access my sites

**URL:** <https://community.localwp.com/t/error-message-and-cannot-access-my-sites/40892>\
**Category:** Support\
**Created:** [January 17, 2024, 2:29pm UTC](https://community.localwp.com/t/error-message-and-cannot-access-my-sites/40892 "2024-01-17T14:29:27Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![TarynL](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/tarynl/32/20669_2.png) [@TarynL](https://community.localwp.com/u/TarynL)\
**Post date:** [January 17, 2024, 2:29pm UTC](https://community.localwp.com/t/error-message-and-cannot-access-my-sites/40892/1 "2024-01-17T14:29:28Z")

</div>

### What issue or error are you experiencing?

Hi there. I have been using LocalHost for about a year on and off …I am relatively new to wordpress and webdesign  
I’ve just recently tried to open my sites again (I have several test sites saved on local) but I recieve this error message (see screenshot attached) .  
The last time I was able to open my sites was about 2 or 3 weeks ago.  
Any help woud be greatly appreciated

 ![ERROR LOCALHOST2024](https://us1.discourse-cdn.com/flex019/uploads/lwpforums/original/3X/d/d/ddd0e6de372fc7778613da0e1eacf7f78844b649.jpeg)

* * *

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

* * *

### System Details

- **Local Version:**

- **Operating System (OS) and OS version:**

* * *

### Local Logs

Attach your Local Logs here ([Help Doc - Retrieving Local’s Log](https://localwp.com/help-docs/troubleshooting/retrieving-locals-log-file/))

* * *

_ **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.

---

<div class="post-metadata">

**Author:** ![Nick-B](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/nick-b/32/16140_2.png) [@Nick-B](https://community.localwp.com/u/Nick-B)\
**Post date:** [January 18, 2024, 4:00pm UTC](https://community.localwp.com/t/error-message-and-cannot-access-my-sites/40892/4 "2024-01-18T16:00:31Z")

</div>

Hi @TarynL!

If you create a new, blank site in Local can you access that okay? If you can, then you may want to try reimporting the site getting the errors. The steps would look like this:

- Locate the site files on your machine, and save a copy of them to your desktop. If you click `Go to Site Folder` under your site name it should take you right to where they are located.
- Once you have those copied, completely delete the site from Local
- Restart Local/your machine
- Reimport the site back into Local. You can refer here on how to [Restore from only Local site files](https://localwp.com/help-docs/getting-started/how-to-import-a-wordpress-site-into-local/#restore-local-site-from-site-files)

---

<div class="post-metadata">

**Author:** ![TarynL](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/tarynl/32/20669_2.png) [@TarynL](https://community.localwp.com/u/TarynL)\
**Post date:** [January 19, 2024, 1:29pm UTC](https://community.localwp.com/t/error-message-and-cannot-access-my-sites/40892/7 "2024-01-19T13:29:09Z")

</div>

Hi Nick. Thanks so much for your reply. Unfortunately I canot create any more new or blank sites on Local either  
Each an every site of mine is giving me the same error message when I try to open it 🤨

---

<div class="post-metadata">

**Author:** ![Nick-B](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/nick-b/32/16140_2.png) [@Nick-B](https://community.localwp.com/u/Nick-B)\
**Post date:** [January 19, 2024, 5:03pm UTC](https://community.localwp.com/t/error-message-and-cannot-access-my-sites/40892/8 "2024-01-19T17:03:25Z")

</div>

Are you on Windows?

Can you check if you have any permissions or security in the way?

> [@Help! I'm running into an EPERM error with the hosts file on Windows](https://community.localwp.com/t/help-im-running-into-an-eperm-error-with-the-hosts-file-on-windows/3508):
>
> This is usually caused by the hosts file being set to read-only or locked by anti-virus. 1. Remove Read-only Attribute Go to C:\Windows\System32\drivers\etc Right-click on the hosts file and go to “Properties” Uncheck “Read-only” Click “Apply” Re-open Local Screenshot 2. Anti-Virus/Internet Security Avira See [https://answers.avira.com/en/question/avira-blocks-hosts-file-what-can-i-do-90](https://answers.avira.com/en/question/avira-blocks-hosts-file-what-can-i-do-90)Kaspersky Total Security Open Kaspsersky Total Security Go to “More Tools” Go …

---

<div class="post-metadata">

**Author:** ![TarynL](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/tarynl/32/20669_2.png) [@TarynL](https://community.localwp.com/u/TarynL)\
**Post date:** [January 20, 2024, 12:25pm UTC](https://community.localwp.com/t/error-message-and-cannot-access-my-sites/40892/9 "2024-01-20T12:25:43Z")

</div>

Hi… yes I’m on Windows 10. Given firewall permission to access local, and Local is running in administrative mode . I am still getting the error. 😕

---

<div class="post-metadata">

**Author:** ![Nick-B](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/nick-b/32/16140_2.png) [@Nick-B](https://community.localwp.com/u/Nick-B)\
**Post date:** [January 20, 2024, 1:49pm UTC](https://community.localwp.com/t/error-message-and-cannot-access-my-sites/40892/10 "2024-01-20T13:49:29Z")

</div>

Hi @TarynL

Can you share your Local Logs with us? There are some different ways to access and share Local Logs. For us to be able to troubleshoot thoroughly, please click the `Download Local Logs` button from the `Support` tab in Local. This will generate a zip archive that contains the Local log along with some other diagnostic information to help quickly zero in on any issues that Local is encountering.

---

<div class="post-metadata">

**Author:** ![TarynL](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/tarynl/32/20669_2.png) [@TarynL](https://community.localwp.com/u/TarynL)\
**Post date:** [January 21, 2024, 12:56pm UTC](https://community.localwp.com/t/error-message-and-cannot-access-my-sites/40892/11 "2024-01-21T12:56:34Z")

</div>

[local-logs2.zip](https://community.localwp.com/uploads/short-url/8pmUSMhleU7lXBhzFRW5HjAGnQ2.zip) (1.2 MB)

Hi @Nick, is this fine? Thanks

---

<div class="post-metadata">

**Author:** ![Nick-B](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/nick-b/32/16140_2.png) [@Nick-B](https://community.localwp.com/u/Nick-B)\
**Post date:** [January 23, 2024, 4:16pm UTC](https://community.localwp.com/t/error-message-and-cannot-access-my-sites/40892/12 "2024-01-23T16:16:52Z")

</div>

Hi @TarynL

Thank you for those logs! It seems like there may still be some kind of security conflict or somehow files were shifted that now can’t be read. In order to refresh here and start with a clean slate could you give the below troubleshooting steps a try?

- [Export](https://localwp.com/help-docs/getting-started/how-to-import-a-wordpress-site-into-local/) any sites that you have on Local and save them to a folder somewhere on your computer.

- [Fully uninstall Local from your computer.](https://localwp.com/help-docs/troubleshooting/uninstalling-local/)

- Install the latest version of Local on this [link.](https://localwp.com/releases/)

- Be sure that when reinstalling Local is not being flagged by Windows Defender: [Install Local - Local](https://localwp.com/help-docs/getting-started/installing-local/#windows)

- Once installed, please restart the computer.

- Check and see if the issue still persists. If so, please provide us with an updated log. [Retrieving Local’s Log File](https://localwp.com/help-docs/troubleshooting/retrieving-locals-log-file/)

Keep us posted and we’d be happy to help further!

---

<div class="post-metadata">

**Author:** ![TarynL](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/tarynl/32/20669_2.png) [@TarynL](https://community.localwp.com/u/TarynL)\
**Post date:** [January 25, 2024, 1:34pm UTC](https://community.localwp.com/t/error-message-and-cannot-access-my-sites/40892/13 "2024-01-25T13:34:29Z")

</div>

Thank you so much Nick. I will try all of that and get back to you asap

---

<div class="post-metadata">

**Author:** ![system](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/system/32/1_2.png) [@system](https://community.localwp.com/u/system)\
**Post date:** [April 24, 2024, 1:34pm UTC](https://community.localwp.com/t/error-message-and-cannot-access-my-sites/40892/14 "2024-04-24T13:34:52Z")

</div>

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