连接到上游时连接被拒绝

时间:2021-02-15 06:46:29

标签: docker phpstorm docker-registry

我已经为 PHP 和 NGINX 创建了一个配置。我的问题是当我运行 http://127.0.0.1:8000/ 时,它返回以下错误:

<块引用>

[error] 31#31: *12 connect() failed (111: Connection denied) while 连接到上游,客户端:xxx.xx.xx,服务器:,请求:“GET / HTTP/1.1”,上游: “fastcgi://127.0.0.1:9001”,主机:“127.0.0.1:8000”

并给出 504 网关超时。

php docker image

nginx docker image

0 个答案:

没有答案