.local stopped working

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

##
# 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

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;
  }
}

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

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