Unable to start site on local 502 error bad gateway

Issue Summary

Unable to start any site on local. Get the following error

502 Bad Gateway

nginx/1.16.0

Troubleshooting Questions

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

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

Replication

Describe the steps that others can take to replicate this issue. If you have screenshots that can help clarify what is happening, please include them!

System Details

  • Which version of Local is being used? Updated to 6.70

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

    • For example: macOS Catalina or Windows 10 Professional
      Windows 10 Pro

logs.zip (8.3 KB)

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.

Hi @paulbart

Do you have any antivirus, security, or firewall applications that could be blocking Local? Are you running other developer applications simultaneously? That could also cause similar issues. Apps like MAMP, XAMPP, or Docker for example.

More details about troubleshooting this here: Router Mode

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