Unable to install nextcloud

2019/04/05 03:00:55 [error] 25899#25899: *33122 connect() failed (111: Connection refused) while connecting to upstream, client: 162.158.90.227, server: cloud.blueserv.ga, request: “GET / HTTP/1.1”, upstream: “fastcgi://127.0.0.1:9000”, host: “cloud.blueserv.ga”
2019/04/05 03:00:56 [error] 25899#25899: *33124 connect() failed (111: Connection refused) while connecting to upstream, client: 172.69.23.38, server: cloud.blueserv.ga, request: “GET /favicon.ico HTTP/1.1”, upstream: “fastcgi://127.0.0.1:9000”, host: “cloud.blueserv.ga”, referrer: “https://cloud.blueserv.ga/”

I’m currently using Ubuntu server 18.04 with nginx. I have read the docs and properly set up nginx and fpm. Adding the “env” codes without “;”. But for some reason it still doesn’t work.