Francis Daly francis at
Sat Jan 25 23:19:32 UTC 2020

On Wed, Jan 22, 2020 at 11:38:52AM -0500, yousufcse06 wrote:

Hi there,

> 2020/01/22 16:24:38 [error] 15197#15197: *17 connect() failed (111:
> Connection refused) while connecting to upstream, client:,
> server:, request: "GET / HTTP/1.1", upstream:
> "", host: "" 
> Why i am getting this error in react js application

Some part of your nginx config does proxy_pass to

At the time of this request, nginx was not able to connect to that service.

Perhaps the service was not running; perhaps it was blocked by a firewall;
perhaps it was overloaded and protected itself by blocking the connect

The logs for the port-3000 service might give more a hint of why nginx
failed to connect then.

Good luck with it,

Francis Daly        francis at

More information about the nginx mailing list