Local Community

Problem with my site

Hi everyone,I had problem since I imported wy website to local, it does not work online especially when a turn it off on local ,
in the browser there is a error message
502 request error
The page you requested generated a server error and could not be processed.
If you continue to get this message after refreshing, try restarting the Local site.

If the error persists, check the Local Router Logs in Local by going to
Help » Reveal Local Router’s Logs.

there is the log error;
2023/03/29 16:05:35 [error] 15372#15048: *218 connect() failed (10061: FormatMessage() error:(15100)) while connecting to upstream, client: 127.0.0.1, server: blog.wp-formationdz.com, request: “GET / HTTP/2.0”, upstream: “http://127.0.0.1:10017/”, host: “blog.wp-formationdz.com
thanks for your support

Hi @tico

it does not work online especially when a turn it off on local

Can you clarify? Your site will only work while Local is up and running so this is normal.

What is your OS and Local version? Can you share your full Local Log here? Retrieving Local’s Log File

Yes my site is working only when local is up
my os is windows 10 64
2023/03/29 16:05:35 [error] 15372#15048: *218 connect() failed (10061: FormatMessage() error:(15100)) while connecting to upstream, client: 127.0.0.1, server: blog.wp-formationdz.com, request: “GET / HTTP/2.0”, upstream: “http://127.0.0.1:10017/”, host: “blog.wp-formationdz.com

Hi @tico

Yes my site is working only when local is up

This is expected behavior. Your site will not work when Local is closed.

what i have to do or step back in order to fix this problem, because i need my site allways working ( it is online) and local is installed on my home’s computer

if iwill remove local from my computer is this will fix the problem ? or i need to do other things

@tico

In order to have your site always live, you’ll have to migrate it to a host at some point. Local is not a web host, it is meant to be an offline development tool for working on your site while it is not live to the public.

my site is already hosted in a server online, since I exported it to local to work on it offline , I thougt working on it and improve it offline but everything went wrong so my site is not online anymore because of local.

Hi @tico

Local wouldn’t be able to take down your live site as that lives on its own server/environment. If you’re not able to access your site from your personal machine it might be that some caching in your browser or network got in the way. What is the domain for your site? Are you able to reach it from an incognito window, using a VPN, or from your phone using LTE data instead of WiFi?

give me one minute

from private browser does not work
from vpn does not work
from LTE it works
I think is network issue , have an how can i fix it
thanks for your support

Hi @tico

Yes, it seems like a network issue. I can load it on my end here in the states, also I tested it globally here as well: TestLocally

To completely clear network caching you may have to try restarting your network/modem or turning it off for a little while and then back on.

on my phone it works both on wifi and LTE before and after i restarted my modem ,but on my computer even thou i restarted my modem it still do not work, maybe it is localhost

You may need to try clearing the cache and cookies on your browser and then closing your active sessions to start with a clean slate.

How do I clear my browser’s cache?

You may also try utilizing a different browser (Firefox, Safari, Internet Explorer if you’re using Chrome for example)

hi sir, I cleaned all my browser but it still does not work , I think when local setted up my site it changed something in the setting (maybe localhost, ports) , do you think if i’ll remove my site from local it will fix the problem

excuse me but yesterday I was at work the whole day

Hi @tico

You could try removing the site. If you have changes you want to save you could just export it into a zip file, and then try uninstalling Local to see if that clears things up.

I removed my site from local without uninstaling local and it works in all browser

do you know what could be the problem?