502 request error and 502 bad gateway

What issue or error are you experiencing?

when i opened my site its showing 502 request error and sometimes its shows 405 Not Allowed and 502 bad gateway please help me to get my site back


What steps can be taken to replicate the issue? Feel free to include screenshots, videos, etc


System Details

  • Local Version:

  • Version 9.1.0+6719

  • Operating System (OS) and OS version:

  • windows 11

  • 22H2


Local Logs

Attach your Local Logs here (Help Doc - Retrieving Local’s Log)
local-lightning.log (257.6 KB)


Hey @vish

It looks like it’s trying to go to the .com version of the domain. Did you change your Local site to match the domain of a live site? Usually Local sites will end in something like sitename.local or localhost:10058 depending on your Router Mode.

actually i changed my domain name after getting this error, now i tried .local domain too but still its not working

Try changing your Router Mode to Localhost, and then stop and restart the site.

Preferences>Advanced>Router Mode

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