[nginx] connect() failed (111: Connection refused) while connecting to upstream, client: 101.18.123.107, server: localhost,

时间:2023-03-09 00:10:01
[nginx] connect() failed (111: Connection refused) while connecting to upstream, client: 101.18.123.107, server: localhost,

nginx一直报错,

2016/12/02 10:23:19 [error] 1472#0: *31 connect() failed (111: Connection refused)
while connecting to upstream, client: 101.18.123.107, server: localhost

网上说是php相关的,但是我没有使用php.

我这边是因为远程服务器(client)要ping我的服务器,但是我的服务器禁用了ping,一直出错。允许ping即可.