Nginx connect() failed error

后端 未结 5 1624
生来不讨喜
生来不讨喜 2020-12-23 22:53

I don\'t know why I got this error every time I tried to open the page:

2013/04/06 17:52:19 [error] 5040#0: *1 connect() failed (111: Connection refused) whi         


        
5条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-23 23:20

    Use fastcgi_pass unix:/var/run/php5-fpm.sock; only nginx and php install same server. If nginx and php install in other server you must use fastcgi_pass ip server:port;

提交回复
热议问题