エントリーの編集
エントリーの編集は全ユーザーに共通の機能です。
必ずガイドラインを一読の上ご利用ください。
nginxで、connect() failed (111: Connection refused) while connecting to upstreamってエラーにハマった。 - Qiita
記事へのコメント0件
- 注目コメント
- 新着コメント
このエントリーにコメントしてみましょう。
注目コメント算出アルゴリズムの一部にLINEヤフー株式会社の「建設的コメント順位付けモデルAPI」を使用しています
- バナー広告なし
- ミュート機能あり
- ダークモード搭載
関連記事
nginxで、connect() failed (111: Connection refused) while connecting to upstreamってエラーにハマった。 - Qiita
2018/02/06 04:31:01 [error] 3107#0: *3318 connect() failed (111: Connection refused) while connec... 2018/02/06 04:31:01 [error] 3107#0: *3318 connect() failed (111: Connection refused) while connecting to upstream, client: xxx.xxx.xxx.xxx, server: localhost, request: "GET / HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "hoge.com" キーワードは「upstream」と「fastcgi」なんじゃないかなぁと推測。 解決方法 php-fpm.confの「listen」とnginx.confの「fastcgi_pass」は同じでなければなりません。 php-fpm.confの確認 listen = /var/run/php-fpm.sock nginx

