Local SSL trusting doesn't work and all sites have port conflicts

Issue Summary

For a few months now, Local’s ‘Trusting’ process hasn’t worked on my 2020 MacBook Pro (M1 processor). HTTPS fails to work even after manually trusting the certificate using Keychain Access. Additionally, most sites now provide port conflict errors upon starting them.

Troubleshooting Questions

  • Does this happen for all sites in Local, or just one in particular?

This is happening on all my currently pulled sites.

  • Are you able to create a new, plain WordPress site in Local and access it in a Browser?

Yes, but even a fresh site using the ‘+’ icon/default Local process presents both SSL errors and port conflict errors.


There isn’t a specific workflow that triggers this — I am experiencing it across all my sites.

System Details

  • Which version of Local is being used?


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

MacOS Monterey.

Security Reminder

Local does a pretty good job of scrubbing private info from the logs and the errors it produces, however there’s always the possibility that something private can come through. Because these are public forums, always review the screenshots you are sharing to make sure there isn’t private info like passwords being displayed.

Apologies, was having issues posting this (kept timing out) and ended up posting a draft copy — all information is correct, but my last notes were cut off — here’s my log, and my mistake on leaving in the ‘Security Reminder’. Thank you!

local-lightning.log (923.2 KB)

This JUST started happening with me on all sites. Local 6.5.2, macOS version 13.0.1 (22A400). Untrusting and retrusting the cert didn’t change anything. I don’t get the SSL error but do get the ‘cannot trust port’ error.

I can’t really use Router Mode long term - I need to have SSL on.

EDIT: Oddly, this turned out to be a copy of nginx that was running on port 80 even though I had no other apps running.

For others:

Quit Local.
Open Terminal and enter lsof -i :80 then hit the enter key.
Kill any processed running (kill -9 [pid] where [pid] is the number in the PID column)
Restart Local.

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