установил nginx и php-fpm пишет ошибку [error] 28471#0: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 127.0.0.1, server: localhost, request: "GET / HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "localhost"
вот настройки nginx
server {
listen 80;
root /usr/share/nginx/html;
server_name localhost;
location / {
index index.php index.html index.htm;
}
location ~ \.php$ {
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_n$
include fastcgi_params;
}
}
хотя дефолтный файл 50x.html открывается нормально