what is the error of 502, 404?

The 502 Bad Gateway error is an HTTP status code that means that one server on the internet received an invalid response from another server.

A 404 error is an HTTP status code that means that the page you were trying to reach on a website couldn't be found on their server. The 404 Not Found error might appear for several reasons even though no real issue exists, so sometimes a simple refresh will often load the page you were looking for. The most common method is to retry the web page by pressing F5, clicking the refresh/reload button, or trying the URL from the address bar again.
 
404:
404 or not found error message is generated by the website hosting server when a user attempts to follow a broken or dead link. In other words this error code indicates that the client (user) was able to communicate with the server but the server could not find what was requested.
502:
502 or bad gateway error is occurs when the server was acting as a gateway or proxy and it received an invalid response from the upstream server it accessed to fulfill the request.
 
502 Error: Bad Gateway
The server, while acting as a gateway or proxy, received an invalid response from the upstream server it accessed in attempting to fulfill the request.

404 Error: Not Found
The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent.
If the server does not wish to make this information available to the client, the status code 403 (Forbidden) can be used instead. The 410 (Gone) status code SHOULD be used if the server knows, through some internally configurable mechanism, that an old resource is permanently unavailable and has no forwarding address.
 
Back
Top