Re: Can't Remote connection by IpV6

From: Alan Hodgson <ahodgson(at)lists(dot)simkin(dot)ca>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Can't Remote connection by IpV6
Date: 2024-06-06 18:47:32
Message-ID: 394559557afe49c8ad226368e84e82291b840ec1.camel@lists.simkin.ca
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, 2024-06-06 at 11:46 -0300, Marcelo Marloch wrote:
> Hi everyone, is it possible to remote connect through IpV6? IpV4
> works fine but I cant connect through V6
>
> postgresql.conf is to listen all address and pg_hba.conf is set
> with host all all :: md5 i've tried ::/0 and ::0/0 but had no
> success
>
> my provider is out of ipv4 and they're sending ips by cgnat if I
> want a public ipv4 I have to sign a very expensive service fee 
>
> thanks a lot

listen '*'

or listen '::' just for ipv6.

Remember to adjust pg_hba.conf as well.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2024-06-06 19:02:00 Re: Can't Remote connection by IpV6
Previous Message Christoph Moench-Tegeder 2024-06-06 18:41:40 Re: Oracle to Postgres - Transform Hash Partition