# I can't open my WorPress Admin site in the browser

**URL:** <https://community.localwp.com/t/i-cant-open-my-worpress-admin-site-in-the-browser/24473>\
**Category:** Support\
**Tags:** router-conflict, wordpress-login, router-mode\
**Created:** [February 21, 2021, 8:47pm UTC](https://community.localwp.com/t/i-cant-open-my-worpress-admin-site-in-the-browser/24473 "2021-02-21T20:47:53Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![jakeup](https://avatars.discourse-cdn.com/v4/letter/j/b9bd4f/32.png) [@jakeup](https://community.localwp.com/u/jakeup)\
**Post date:** [February 21, 2021, 8:47pm UTC](https://community.localwp.com/t/i-cant-open-my-worpress-admin-site-in-the-browser/24473/1 "2021-02-21T20:47:53Z")

</div>

I have just installed Local WP and created a new site. When I start the site and open it in the browser it works but if I try to access WordPress admin via the “Admin Button” I get a 404 Not Found error [image|689x315](https://community.localwp.com/uploads/short-url/6aTQVf0pqXETBLUH5RwH4kPhPvi.png)

I tried to create new sites and all of them have the same issue. I have 64-bit Windows Home computer. And also when Initially created the first website I got an error message:“Warning! This site’s WordPress URL settings do not match the host set in Local”

 ![Capture_1](https://us1.discourse-cdn.com/flex019/uploads/lwpforums/original/2X/2/2a72b64cdedd18691bf3cdcaad40360d20463065.png)

So then I have done some research and came to the conclusion I needed to change the “Router Mode” from “Site Domains” to “localhost”

 ![Capture_2](https://us1.discourse-cdn.com/flex019/uploads/lwpforums/original/2X/0/02c304dbd8b7b5f321b0d17367051aaff9e84c0f.png)

It did make me able to access the website but not the Admin page.

Attached you can find the Local’s and Local’s Router Log.  
[local-lightning.log](https://community.localwp.com/uploads/short-url/9ok2imE3fw5V7tqRdqqLyXXiJPh.log) (102.5 KB) [error.log](https://community.localwp.com/uploads/short-url/jBBZdPfEHuheyiRLSr9JwjmTWGf.log) (2.4 KB)

Any help will be greatly appreciated. Thank you.

---

<div class="post-metadata">

**Author:** ![mar1](https://avatars.discourse-cdn.com/v4/letter/m/f4b2a3/32.png) [@mar1](https://community.localwp.com/u/mar1)\
**Post date:** [February 24, 2021, 9:06am UTC](https://community.localwp.com/t/i-cant-open-my-worpress-admin-site-in-the-browser/24473/2 "2021-02-24T09:06:46Z")

</div>

hello,  
i have the same problem but the topic was closed and there’s no reply. How can i fix it please?

---

<div class="post-metadata">

**Author:** ![byronica](https://avatars.discourse-cdn.com/v4/letter/b/f0a364/32.png) [@byronica](https://community.localwp.com/u/byronica)\
**Post date:** [February 24, 2021, 11:29am UTC](https://community.localwp.com/t/i-cant-open-my-worpress-admin-site-in-the-browser/24473/3 "2021-02-24T11:29:11Z")

</div>

Same problem here so I’ve reverted to v5.9.8 which does not have this bug.  
If you can’t revert, in Local’s preferences set your router mode to localhost. You’ll need to then manually enter the site’s port number into the URL to get to admin. eg. [http://localhost:10013/wp-admin/](http://localhost:10013/wp-admin/)  
You can find the correct port number in the Site Host info in the Overview tab in Local, or in the browser when you open it via Local.  
 ![Screenshot 2021-02-24 at 11.24.23 am](https://us1.discourse-cdn.com/flex019/uploads/lwpforums/original/2X/d/d2dff50652249805aaadf97b7e6776868a497411.png)

---

<div class="post-metadata">

**Author:** ![mar1](https://avatars.discourse-cdn.com/v4/letter/m/f4b2a3/32.png) [@mar1](https://community.localwp.com/u/mar1)\
**Post date:** [February 24, 2021, 11:53am UTC](https://community.localwp.com/t/i-cant-open-my-worpress-admin-site-in-the-browser/24473/4 "2021-02-24T11:53:06Z")

</div>

Thank you… I solved with your second suggest

---

<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:** [February 24, 2021, 5:34pm UTC](https://community.localwp.com/t/i-cant-open-my-worpress-admin-site-in-the-browser/24473/5 "2021-02-24T17:34:14Z")

</div>

Thanks for helping us zero in on this regression! I’ll get a bug report written for our team to work on soon!

---

<div class="post-metadata">

**Author:** ![davidklotz11](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/davidklotz11/32/12667_2.png) [@davidklotz11](https://community.localwp.com/u/davidklotz11)\
**Post date:** [February 25, 2021, 5:31pm UTC](https://community.localwp.com/t/i-cant-open-my-worpress-admin-site-in-the-browser/24473/7 "2021-02-25T17:31:29Z")

</div>

### Issue Summary

having trouble with localhost saying sites can’t be reached. I have one site that seems to still be working fine, but the rest of them either don’t connect at all, or only connect to view but the admin won’t connect.

#### Troubleshooting Questions

- Does this happen for all sites in Local, or just one in particular?  
Happens for all the ones I’m currently using, and ones that I add.

- Are you able to create a new, plain WordPress site in Local and access it in a Browser?  
I can create a site, but like the others it will display but throws the error when trying to access the admin

#### Replication

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!

#### System Details

- Which version of Local is being used?  
Version 5.9.+5246

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

- Attach the Local Log. See this Community Forum post for instructions on how to do so:

---

<div class="post-metadata">

**Author:** ![nspark21](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/nspark21/32/12670_2.png) [@nspark21](https://community.localwp.com/u/nspark21)\
**Post date:** [February 25, 2021, 6:20pm UTC](https://community.localwp.com/t/i-cant-open-my-worpress-admin-site-in-the-browser/24473/8 "2021-02-25T18:20:22Z")

</div>

Exactly the same here, happened suddenly, cant access any admin areas for any of my sites on Local, the front end (visit site) views everything ok,

I have the latest version downloaded from the website. I am on windows 10, I have tried changing the PHP version to see if that makes a difference and also tred different sites with different wordpress versions but still getting the error 'localhost refused connection as stated by the creator of this topic… help please! ☹

edit: just to clarify this is on my local computer.

---

<div class="post-metadata">

**Author:** ![dannyj](https://avatars.discourse-cdn.com/v4/letter/d/b487fb/32.png) [@dannyj](https://community.localwp.com/u/dannyj)\
**Post date:** [February 25, 2021, 6:32pm UTC](https://community.localwp.com/t/i-cant-open-my-worpress-admin-site-in-the-browser/24473/9 "2021-02-25T18:32:21Z")

</div>

I’m on a Mac and I entered Time Machine and went back to last weeks version and everything is working. Apparently, an update happened last night and messed things up.

Daniel Riggs  
[iamriggs@icloud.com](mailto:iamriggs@icloud.com)

---

<div class="post-metadata">

**Author:** ![davidklotz11](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/davidklotz11/32/12667_2.png) [@davidklotz11](https://community.localwp.com/u/davidklotz11)\
**Post date:** [February 25, 2021, 8:30pm UTC](https://community.localwp.com/t/i-cant-open-my-worpress-admin-site-in-the-browser/24473/10 "2021-02-25T20:30:34Z")

</div>

So I figured out a workaround that seems to work for me that doesn’t involve rolling back the version with time machine. I’ve attached a screenshot showing it. Basically, if you add the missing # after localhost and change the cache-buster number to match the working “visit site” link, then you can access the admin login.

 ![Screen Shot 5](https://us1.discourse-cdn.com/flex019/uploads/lwpforums/original/2X/9/92e469621c8ce73a7b30d7b7acd6a232d7e28ea1.jpeg)

---

<div class="post-metadata">

**Author:** ![nspark21](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/nspark21/32/12670_2.png) [@nspark21](https://community.localwp.com/u/nspark21)\
**Post date:** [February 25, 2021, 9:48pm UTC](https://community.localwp.com/t/i-cant-open-my-worpress-admin-site-in-the-browser/24473/11 "2021-02-25T21:48:10Z")

</div>

thank you for the work-around! At least I can continue to work now… thanks again both for your replies!

Nick

---

<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:** [February 25, 2021, 10:35pm UTC](https://community.localwp.com/t/i-cant-open-my-worpress-admin-site-in-the-browser/24473/12 "2021-02-25T22:35:40Z")

</div>

Hey @davidklotz11, @nspark21, @dannyj – sorry for the regression that the 5.9.9 version introduced. I’ve merged your topic with this one to keep them together.

The Local team is aware of this bug and should have a fix ready soon.

In the meantime, you can either downgrade to version 5.9.8 or manually add the port number just after `localhost` in the browser’s address bar.

---

<div class="post-metadata">

**Author:** ![dannyj](https://avatars.discourse-cdn.com/v4/letter/d/b487fb/32.png) [@dannyj](https://community.localwp.com/u/dannyj)\
**Post date:** [February 25, 2021, 11:15pm UTC](https://community.localwp.com/t/i-cant-open-my-worpress-admin-site-in-the-browser/24473/13 "2021-02-25T23:15:54Z")

</div>

Thank you, Ben.

---

<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:** [May 26, 2021, 11:15pm UTC](https://community.localwp.com/t/i-cant-open-my-worpress-admin-site-in-the-browser/24473/14 "2021-05-26T23:15:58Z")

</div>

Closed on May 26, 2021, 11:15pm UTC

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