Curl laravel API 503

get different responses to the same interface address of laravel

online curl environment

clipboard.png

curl

clipboard.png

,503,

clipboard.png

Mar.23,2021

503 the server is currently unable to process requests due to temporary server maintenance or overload.


has found the cause of the problem because the online server is an internal server. Nat direct connection is made at the gateway layer. Used for network forwarding. The curl domain name is used on this server. At present, this domain name is resolved to our gateway. When the gateway parses, it is found that the domain name is resolved to the gateway, then hang up directly. The parsing method is to specify our intranet with a mandatory hosts directly on the gateway

Menu