pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
BUG #17283: localhost should also include IPv6
2+ messages / 2 participants
[nested] [flat]

* BUG #17283: localhost should also include IPv6
@ 2021-11-13 01:04 PG Bug reporting form <noreply@postgresql.org>
  2021-11-13 02:12 ` Re: BUG #17283: localhost should also include IPv6 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 1 reply; 2+ messages in thread

From: PG Bug reporting form @ 2021-11-13 01:04 UTC (permalink / raw)
  To: pgsql-bugs@lists.postgresql.org; +Cc: treysis@gmx.net

The following bug has been logged on the website:

Bug reference:      17283
Logged by:          treysis
Email address:      treysis@gmx.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.



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: BUG #17283: localhost should also include IPv6
  2021-11-13 01:04 BUG #17283: localhost should also include IPv6 PG Bug reporting form <noreply@postgresql.org>
@ 2021-11-13 02:12 ` Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2021-11-13 02:12 UTC (permalink / raw)
  To: treysis@gmx.net; +Cc: pgsql-bugs@lists.postgresql.org

PG Bug reporting form <noreply@postgresql.org> writes:
> Currently, PostgreSQL defaults to listen on 'localhost', which translates to
> single-stack IPv4 loopback address 127.0.0.1.

The definition of "localhost" is determined by your local DNS
configuration, not by Postgres.

			regards, tom lane





^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2021-11-13 02:12 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2021-11-13 01:04 BUG #17283: localhost should also include IPv6 PG Bug reporting form <noreply@postgresql.org>
2021-11-13 02:12 ` Tom Lane <tgl@sss.pgh.pa.us>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox