【nginx】kevent() reported that connect() failed (61: Connection refused)

访问php页面时,nginx报如下错误

2014/12/25 12:36:13 [error] 3846#0: *3 kevent() reported that connect() failed (61: Connection refused) while connecting to upstream, client: 127.0.0.1, server: localhost, request: "GET /index.php HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "localhost"

出错的原因是php-fpm未启动。

解决:

sudo php-fpm


你可能感兴趣的:(Error)