What should I do if the error code 502 bad gateway occurs

  In fact, friends who often use computers should be very clear that sometimes when we browse the web on the Internet, sometimes there may be some error codes. For example, when some netizens are online recently, the computer has error code 502 bad In the case of the gateway , what should we do at this time? The editor will tell you below!

What should I do if the error code 502 bad gateway occurs 1

  How to solve 502 bad gateway?

  1. 502 bad gateway means that the web server received an invalid response when acting as a gateway or proxy server.

  2. The main thing is to see if others can't access the same. If they can't access, the server is basically down. Others can access it, try ctrl+F5 to force the refresh of the machine again, if it still doesn't work, look at the following situation.

What should I do if the error code 502 bad gateway occurs 2

  3. Refresh DNS. For example, when we visit a relatively new website, because the website has just been resolved, the DNS is still updated. At this time, we can run ipconfig /flushdns in the cmd window to refresh the DNS cache.

What should I do if the error code 502 bad gateway occurs?

  4. Using a proxy such as VPN, foreign websites such as Google, YouTube, Facebook, etc. are often blocked because they are not set up in the mainland, and 502 bad gateway will also appear. So at this time, we can buy some useful access.

  5. Replace DNS, set DNS to 114.114.114.114. or 223.5.5.5.5.

What should I do if the error code 502 bad gateway occurs 4

  6. LSP repair. There is also a special case, software hijacking, which is rare, but I have also encountered it. At this time, you need to find out what software has been installed recently and uninstall it directly. Or use 360, Baidu Guardian and other software to fix it.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326293500&siteId=291194637