# .local stopped working

**URL:** https://community.kinsta.com/t/local-stopped-working/1965
**Category:** Application Support
**Created:** [December 28, 2022, 1:27am UTC](https://community.kinsta.com/t/local-stopped-working/1965 "2022-12-28T01:27:51Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Jak](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/jak/32/1760_2.png) [@Jak](https://community.kinsta.com/u/Jak)
#### Post date: [December 28, 2022, 1:27am UTC](https://community.kinsta.com/t/local-stopped-working/1965/1 "2022-12-28T01:27:51Z")

</div>

I have been using devkinsta for a few days and it has started and stopped fine. Recently I cannot access my .local site at all.

One thing that could affect this is I recently started using another local wp tool that could have conflicted with local. I made sure that everything in that other environment is shut off.

Here is what I have tried.

1. Restarting the site
2. Restarting my computer
3. deleting the entry in the /etc/hosts file
4. deleting the .conf file
5. smashing my desk like hulk

Please help

Here is the current /etc/hosts

```auto
##
# Host Database
#
# localhost is used to configure the loopback interface
# when the system is booting. Do not change this entry.
##
127.0.0.1 localhost
255.255.255.255 broadcasthost
::1 localhost
#### START DEVKINSTA entries
127.0.0.1 mysite.local
127.0.0.1 www.mysite.local
::1 mysite.local
::1 www.mysite.local

```

Here is the current .conf

```auto
server {
  set $site_name mysitename;
  set $php_path devkinsta_fpm:9003;

  listen 50794;
  listen [::]:50794;
  listen 50795 ssl http2;
  listen [::]:50795 ssl http2;

  ssl_certificate /www/kinsta/ssl/mysite.local.crt;
  ssl_certificate_key /www/kinsta/ssl/mysite.local.key;

  server_name mysite.local *.mysite.local;
  access_log /www/kinsta/logs/mysite_access.log main;
  error_log /www/kinsta/logs/mysite_error.log;

  root /www/kinsta/public/mysite;
  index index.php index.html;

  include multisite_subdir.conf;

  location / {
      try_files $uri $uri/ /index.php?$args;
  }

  location ~ \.php$ {
      fastcgi_split_path_info ^(.+?\.php)(/.*)$;
      if (!-f $document_root$fastcgi_script_name) {
        return 404;
      }
      include fastcgi_params;
      fastcgi_param PHP_ADMIN_VALUE "sendmail_from=devkinsta@mysite.local";
      fastcgi_intercept_errors on;
      fastcgi_pass $php_path;
      fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
  }
}

```

---

<div class="post-metadata">

### Author: ![Jak](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/jak/32/1760_2.png) [@Jak](https://community.kinsta.com/u/Jak)
#### Post date: [December 28, 2022, 6:09am UTC](https://community.kinsta.com/t/local-stopped-working/1965/2 "2022-12-28T06:09:24Z")

</div>

OK. I will leave this question up, in case it helps others. It looks like my other dev environment made dev kinsta move the ports to other open ones. I had to manually change them to 80 and 443, based on this answer here: [Devkinsta port number changed automatically and giving error :report.local unexpectedly closed the connection](https://community.kinsta.com/t/devkinsta-port-number-changed-automatically-and-giving-error-report-local-unexpectedly-closed-the-connection/1956)

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex020/uploads/kinsta/original/2X/8/80f8c4e56fecc02327a0964e6bf63a716483529f.png) [@system](https://community.kinsta.com/u/system)
#### Post date: [December 31, 2022, 6:09am UTC](https://community.kinsta.com/t/local-stopped-working/1965/3 "2022-12-31T06:09:54Z")

</div>

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