Connect() failed (111: Connection refused) while connecting to upstream

Nginx, php8
|—|—|
|||
Debian 11
virtualmin 6.17
webmin 1.981


cannot run phpinfo file on the root directory

getting error messages:

2021/11/19 04:53:46 [error] 629#629: *51 no live upstreams while connecting to upstream, client: 92.172.12.200, server: mysite.com, request: "GET /index.php HTTP/2.0", upstream: "fastcgi://localhost", host: "mysite.com"
2021/11/19 04:54:00 [error] 629#629: *51 connect() failed (111: Connection refused) while connecting to upstream, client: 92.172.12.200, server: mysite.com, request: "GET /index.php HTTP/2.0", upstream: "fastcgi://127.0.0.1:8002", host: "mysite.com"
2021/11/19 04:54:00 [error] 629#629: *51 connect() failed (111: Connection refused) while connecting to upstream, client: 92.172.12.200, server: mysite.com, request: "GET /index.php HTTP/2.0", upstream: "fastcgi://127.0.0.1:8002", host: "mysite.com"

missing headers ??

https://nginx.org/en/docs/http/ngx_http_upstream_module.html#keepalive