php 同一服务器项目A curl 发送数据给项目B nginx一直出现如下错误
upstream timed out (10060: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond) while reading response header from upstream, client: 106.15.91.1, server: maque.match-us.com, request: "GET /api/statistics/2019-05 HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "maque.match-us.com", referrer: "http://maque.match-us.com/api/statistics/2019-05"
通过探寻 找到原因 当前使用的是项目A,但是A调用了项目B 但是配置的Nginx时只固定了一个9000端口 A占用后;B就无法访问
把另一个项目端口改成9001即可