# Cant access wordpress site and WP admin on local

**URL:** <https://community.localwp.com/t/cant-access-wordpress-site-and-wp-admin-on-local/43825>\
**Category:** Support\
**Created:** [July 21, 2024, 12:44pm UTC](https://community.localwp.com/t/cant-access-wordpress-site-and-wp-admin-on-local/43825 "2024-07-21T12:44:16Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![yochainoah](https://avatars.discourse-cdn.com/v4/letter/y/0ea827/32.png) [@yochainoah](https://community.localwp.com/u/yochainoah)\
**Post date:** [July 21, 2024, 12:44pm UTC](https://community.localwp.com/t/cant-access-wordpress-site-and-wp-admin-on-local/43825/1 "2024-07-21T12:44:16Z")

</div>

Hi when I download local and created my first website for some reason Im getting the error “Warning missing hosts entry. this site may be inaccessible.” plus im getting an alert message , Uh-oh could not access hosts file. Im stuck on this issue for days I tried everything I changed my site to localhost turned off my computer turened on again but still nothing works!??

 ![‏‏צילום מסך (65)](https://us1.discourse-cdn.com/flex019/uploads/lwpforums/original/3X/7/9/7982673a6bb63fecbe185bddd2a918c8688a664d.png)  
 ![‏‏צילום מסך (64)](https://us1.discourse-cdn.com/flex019/uploads/lwpforums/original/3X/8/7/8755349dca26221d8be99eee3f9b40cf3034d85c.png)

---

<div class="post-metadata">

**Author:** ![ben.turner](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/ben.turner/32/5366_2.png) [@ben.turner](https://community.localwp.com/u/ben.turner)\
**Post date:** [July 22, 2024, 4:59pm UTC](https://community.localwp.com/t/cant-access-wordpress-site-and-wp-admin-on-local/43825/2 "2024-07-22T16:59:23Z")

</div>

Hey @yochainoah – Welcome to the Local community!

It’s hard to say exactly what’s going on, can you provide some more details?

- What version of Local are you using?
- What Operating System (OS) and OS version is installed?
- Attach your Local Logs here ([Help Doc - Retrieving Local’s Log](https://localwp.com/help-docs/troubleshooting/retrieving-locals-log-file/))

---

<div class="post-metadata">

**Author:** ![yochainoah](https://avatars.discourse-cdn.com/v4/letter/y/0ea827/32.png) [@yochainoah](https://community.localwp.com/u/yochainoah)\
**Post date:** [July 23, 2024, 12:28pm UTC](https://community.localwp.com/t/cant-access-wordpress-site-and-wp-admin-on-local/43825/3 "2024-07-23T12:28:26Z")

</div>

Im using local 9.0.5  
Windows 11 OS  
[local-logs.zip](https://community.localwp.com/uploads/short-url/guHFDiyDUGk6bWDqCVndz8TERpe.zip) (30.0 KB)

---

<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:** [July 23, 2024, 5:26pm UTC](https://community.localwp.com/t/cant-access-wordpress-site-and-wp-admin-on-local/43825/4 "2024-07-23T17:26:09Z")

</div>

Hi @yochainoah

Are you sure your Hosts File is editable or is it set to Read Only?

> [@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 …

Are you logged in as an Admin user?

---

<div class="post-metadata">

**Author:** ![yochainoah](https://avatars.discourse-cdn.com/v4/letter/y/0ea827/32.png) [@yochainoah](https://community.localwp.com/u/yochainoah)\
**Post date:** [July 24, 2024, 6:19am UTC](https://community.localwp.com/t/cant-access-wordpress-site-and-wp-admin-on-local/43825/5 "2024-07-24T06:19:50Z")

</div>

hi th hosts file is editable and not set to read only plus I am logged in as admin?

 ![‏‏צילום מסך (66)](https://us1.discourse-cdn.com/flex019/uploads/lwpforums/original/3X/3/f/3f61b079e5cde98b4f3a6365211f46c2dd322bd0.png)  
 ![‏‏צילום מסך (67)](https://us1.discourse-cdn.com/flex019/uploads/lwpforums/original/3X/c/9/c95786008382a63de859c01008412bc5302bd01d.png)

---

<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:** [July 24, 2024, 1:30pm UTC](https://community.localwp.com/t/cant-access-wordpress-site-and-wp-admin-on-local/43825/6 "2024-07-24T13:30:25Z")

</div>

A couple other things to check here @yochainoah

- Sometimes the system can be finicky with other languages so make sure there aren’t any special characters in your user or password. [Special characters not supported on Windows username/password](https://community.localwp.com/t/unable-to-provision-site-due-to-special-characters-in-windows-username/14419)

- Check to make sure you don’t have any additional antivirus, security, or firewall applications that could be blocking Local as well

---

<div class="post-metadata">

**Author:** ![yochainoah](https://avatars.discourse-cdn.com/v4/letter/y/0ea827/32.png) [@yochainoah](https://community.localwp.com/u/yochainoah)\
**Post date:** [July 26, 2024, 8:36am UTC](https://community.localwp.com/t/cant-access-wordpress-site-and-wp-admin-on-local/43825/7 "2024-07-26T08:36:05Z")

</div>

There are no special characters in my username or password  
and I dont think theres anymore security applications that I know of that are runing on my computer except microsoft defender

---

<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:** [July 26, 2024, 12:58pm UTC](https://community.localwp.com/t/cant-access-wordpress-site-and-wp-admin-on-local/43825/8 "2024-07-26T12:58:24Z")

</div>

In order to refresh here and start with a clean slate could you give the below troubleshooting steps a try?

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

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

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

- Once installed, please restart the 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: [Retrieve Local’s Log File - Local](https://localwp.com/help-docs/troubleshooting/retrieving-locals-log-file/)

---

<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:** [October 24, 2024, 12:59pm UTC](https://community.localwp.com/t/cant-access-wordpress-site-and-wp-admin-on-local/43825/9 "2024-10-24T12:59:07Z")

</div>

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