求教内网应用服务器调用外部webservice的问题

2025-04-11 03:01:59
推荐回答(1个)
回答1:

proxy error

the proxy server received an invalid response from an upstream server.
the proxy server could not handle the request post /xxx/xxx.

reason: error reading from remote server
------------------------
apache/2.2.3 (centos) server at xxx.xxx.com port 80

经查是由于这个功能是需要调用外网webservice的。于是增加了该应用服务器的dns解析相关设置,使得这个应用服务器能直接访问这个webservice。但是仍然以上报错。困扰2天了~
还请大家帮忙,当 反向代理 碰到 需要调用外部webservice的问题,应该如何解决?

------解决方案--------------------
你proxypass 内部的服务器要访问外部的 webservice 理论上, 只需要有访问外网的权限就ok了. 与是否 proxypass 无关...