Localhost refused to connect

Issue Summary

I just installed Local and I have been unable to open the site in Chrome or Safari. I keep getting ERR_CONNECTION_REFUSED. Most of the support regarding this issue seem to focus on SSL configuration, but I am routing on localhost, so SSL isn’t the problem. Thanks in advance!

System Details

I’m using Local 6.1.8 on Mac Big Sur 11.4
local-lightning.log (686.8 KB)

Hey @charmingduchess – Welcome to the Local Community Forums!

You’re right that in many cases the connection refused error has to do with SSL.

In this case, I think that it has more to do with the NGINX process for the site not starting up completely. Looking at the Local log, it seems like the error log is missing:

{"thread":"main","class":"Process","process":"nginx","level":"warn","message":"nginx: [emerg] open() \"/Users/ozzie/Local Sites/fuelcellenergy/logs/nginx/error.log\" failed (2: No such file or directory)","timestamp":"2021-12-06T20:15:34.245Z"}

Can you try stopping Local, navigating to that location that’s mentioned and creating any folders of files that aren’t there?

In particular, you might need to create this file:

~/Local Sites/fuelcellenergy/logs/nginx/error.log

Let me know how it goes, or if you have any questions!

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