# Local site won't open?

**URL:** https://community.kinsta.com/t/local-site-wont-open/3344
**Category:** Application Support
**Created:** [April 25, 2024, 8:28am UTC](https://community.kinsta.com/t/local-site-wont-open/3344 "2024-04-25T08:28:57Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![emilb](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/emilb/32/2930_2.png) [@emilb](https://community.kinsta.com/u/emilb)
#### Post date: [April 25, 2024, 8:28am UTC](https://community.kinsta.com/t/local-site-wont-open/3344/1 "2024-04-25T08:28:57Z")

</div>

Hi

Out of nowhere today (haven’t made any changes at all), I can’t open my local site anymore. It will say the site is running in DevKinsta, and the docker containers are running as well, but the browser won’t load the page.

I tried also accessing directly through docker, but that doesn’t work either. It’s like the container is either somehow damaged or the path is not syncing…

I of course already tried stopping the service, restarting my system etc., but nothing works.

Would appreciate inputs

 ![devkinsta1](https://us1.discourse-cdn.com/flex020/uploads/kinsta/original/2X/6/61efdedfad8627678078984613de0ff970c10deb.jpeg)

---

<div class="post-metadata">

### Author: ![Joe](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/joe/32/3266_2.png) [@Joe](https://community.kinsta.com/u/Joe)
#### Post date: [April 25, 2024, 10:03am UTC](https://community.kinsta.com/t/local-site-wont-open/3344/2 "2024-04-25T10:03:05Z")

</div>

Might not be the same “fix”, but I had a similar issue last week when pulling my sites. My issue was related to using WordFence, and there being a line in the user.ini file requiring it at the production site URL. Deleting that file/line fixed the issue for me.

Could be worth renaming the user.ini file to user.ini.bak as a quick test to see if that allows the site to run properly.

---

<div class="post-metadata">

### Author: ![emilb](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/emilb/32/2930_2.png) [@emilb](https://community.kinsta.com/u/emilb)
#### Post date: [April 25, 2024, 12:51pm UTC](https://community.kinsta.com/t/local-site-wont-open/3344/3 "2024-04-25T12:51:51Z")

</div>

Thanks. Unfortunately doesn’t work ☹

I had to simply duplicate the theme content to a new site, now it works…

---

<div class="post-metadata">

### Author: ![merineth](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/merineth/32/3022_2.png) [@merineth](https://community.kinsta.com/u/merineth)
#### Post date: [April 26, 2024, 2:43am UTC](https://community.kinsta.com/t/local-site-wont-open/3344/4 "2024-04-26T02:43:43Z")

</div>

Hi @emilb, I am sorry to hear that you are having issues with your local site not opening.

Usually, the local site should load without a custom port. Based on your screenshot it has the custom port on the URL. Can you please check that the “ **Auto Detect** ” port selector option in DevKinsta is unchecked and the default ports 80 and 443 are set respectively. See screenshot below:

 ![Screenshot 2024-04-26 at 9.21.19 AM](https://us1.discourse-cdn.com/flex020/uploads/kinsta/original/2X/0/012552d637eb130cedbc82bc11ad4d4ced1b9436.png)

I hope this will help you out and let me know if you still encounter similar issue in the future.  
Though I am glad your local site works after duplicating the theme content.

Have a great day!
