> http://[::1]:5984/a?limit=1

You likely have 127.0.0.1 denoted as localhost in nginx config. Make it
127.0.0.1 back, it will disable IPv6 connection upstream.

ermouth


On Sat, Jun 10, 2023 at 3:31 PM Paul Milner <pauljmil...@gmail.com> wrote:

> Hello there,
>
> further to my issues with couchdb and nginx. I get the following error in
> my nginx error log:
>
> 2023/06/10 11:55:36 [error] 87270#87270: *115 connect() failed (111:
> Connection refused) while connecting to upstream, client: xxx.xxx.xxx.xxx,
> server: _, request: "GET /a?limit=1 HTTP/1.1", upstream:
> "http://[::1]:5984/a?limit=1";,
> host: "12.12.12.12"
>
> The request actually always succeeds but I always get this message.
>
> My bind in local.ini and default.ini is:
>
> port = 5984
> bind_address = 127.0.0.1;0.0.0.0;::
>
> Would anyone know why please?
>
> Thanks
> Paul
>

Reply via email to