502 Request Error, I'm not able to access my site

I’m working on wordpress multisite
I’m always Facing this error 502 Request Error

when i restart the local this error goes and I think this is because my Multisite option is not set to Subdomains. when i restart my website i always not to updated the urls of multsite in my host file, and this domians are not sync with local I think so

please can anyone assists so that this error should not appear again

Hi @rohitbalecfc

A 502 could be a timeout or resource issue. So you could check for some performance culprits in our guide here:

We also have a guide for building multisites in Local here if you haven’t looked at that already: