BUG #17283: localhost should also include IPv6

From: PG Bug reporting form <noreply(at)postgresql(dot)org>
To: pgsql-bugs(at)lists(dot)postgresql(dot)org
Cc: treysis(at)gmx(dot)net
Subject: BUG #17283: localhost should also include IPv6
Date: 2021-11-13 01:04:15
Message-ID: 17283-ad8b80401ffe779e@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 17283
Logged by: treysis
Email address: treysis(at)gmx(dot)net
PostgreSQL version: 14.1
Operating system: Windows and Linux
Description:

Currently, PostgreSQL defaults to listen on 'localhost', which translates to
single-stack IPv4 loopback address 127.0.0.1. However, IPv6 is more and more
prevalent, not everything support happy eyeballs. Therefor, when no
listen_addresses are specified and/or if localhost is specified, this should
not default to 127.0.0.1, but instead to '127.0.0.1, ::1' to make PostreSQL
listen both on IPv4 and IPv6 loopback interfaces.

This especially fixes issues with the latest NodeJS v17.

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Andres Freund 2021-11-13 01:48:03 Re: BUG #17255: Server crashes in index_delete_sort_cmp() due to race condition with vacuum
Previous Message Peter Geoghegan 2021-11-13 00:37:24 Re: BUG #17255: Server crashes in index_delete_sort_cmp() due to race condition with vacuum