failed (104: Connection reset by peer)

Francis Daly francis at
Sat Nov 3 09:28:43 UTC 2012

On Fri, Nov 02, 2012 at 07:52:53AM -0400, antoine2223 wrote:

Hi there,

> hello sir i am beginer, i haev following errors in my logs
> in my error log ,
>   2012/11/02 12:27:26 [error] 3909#0: *1 recv() failed (104: Connection
> reset by peer) while reading response header from upstream, client:
>, server:, request: "GET / HTTP/1.1",
> upstream: "fastcgi://", host: ""

This says that nginx was talking to the fastcgi server, and the fastcgi
server dropped the connection.

> can you please help me out to rectify the error ?

Look in your fastcgi server logs to see what the problem is.

>         # PHP scripts -> PHP-FPM server listening on

That's the server that should be looked at.

Good luck with it,

Francis Daly        francis at

More information about the nginx mailing list