Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
whats the output of command ss -ntlp ?
You should see the php-fpm service running with port 9000
Well, actually I don’t.
State Recv-Q Send-Q Local Address:Port Peer Address:Port
LISTEN 0 128 0.0.0.0:111 0.0.0.0:*
LISTEN 0 128 0.0.0.0:80 0.0.0.0:*
LISTEN 0 128 0.0.0.0:22 0.0.0.0:*
LISTEN 0 128 0.0.0.0:443 0.0.0.0:*
LISTEN 0 80 :3306 :
LISTEN 0 128 [::]:111 [::]:
LISTEN 0 128 [::]:80 [::]:*
LISTEN 0 128 [::]:22 [::]:*
LISTEN 0 128 [::]:443 [::]:*
Strange, because then how is it possible that on the other “virtual host” php is parsed perfectly?
Heya,
An update on an older topic but I think it can be beneficial for anyone finding it.
The error connect() failed (111: Connection refused) while connecting to upstream suggests an issue with the application rather than Nginx.
In that case, what I recommend is to check the application logs rather than focus your attention on Nginx. 99% It’s due to a misconfiguration or a code-error.