Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sFEb5-000I06-GJ for pgsql-general@arkaria.postgresql.org; Thu, 06 Jun 2024 15:00:12 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1sFEa5-0014c7-HD for pgsql-general@arkaria.postgresql.org; Thu, 06 Jun 2024 14:59:10 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sFEa5-0014bz-4u for pgsql-general@lists.postgresql.org; Thu, 06 Jun 2024 14:59:10 +0000 Received: from mail-vk1-xa2a.google.com ([2607:f8b0:4864:20::a2a]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1sFEa2-00010q-Cf for pgsql-general@lists.postgresql.org; Thu, 06 Jun 2024 14:59:08 +0000 Received: by mail-vk1-xa2a.google.com with SMTP id 71dfb90a1353d-4eb3a7d7bd1so367932e0c.2 for ; Thu, 06 Jun 2024 07:59:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1717685945; x=1718290745; darn=lists.postgresql.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=LkfiR7dBBbBNvTOzLcq8+xP3/kQsAoVur09+ig+nPdk=; b=Mb+Z+Dq2Br7/Ca0NF51O2hSe0wkXd5bTRwMZkhmAfvzEUHL5xxe51GzMeQ0mqXJeAK baJzQ2/Mm65eKGgWCoJ78RwKwQpeO7M7YOIE+A8i+tRwpZ/4ZsCR5R31MDqNsu/+9QmQ LWMoarPyfNMi4vyrWZwYQwblsUwIcLwWk38d38aAD2FslTHpRZH+DW5spj+bKUP/yum5 s4FP3T4gqyLb8H8uj3jlypZSNWgnvi6k6yrYP1oykvT1b7EAVIbJnZlq9Oc052AXSGqV 15BPYkrBXdu+E93q394Sg1J+W3ev7vDhuBHWIb6KmtN/FqILiiKO5ZThcmZPwYCSHzqm o83A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717685945; x=1718290745; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=LkfiR7dBBbBNvTOzLcq8+xP3/kQsAoVur09+ig+nPdk=; b=KzChWlVjWGF8H5ZIuRCviN/z/9rkwx6m9R2IBJ5po7kFbLak60m4PxFeFfiqDtnik1 9M4phIsE5xMnSt5+kZt1m6S4v5XORqCk15wBCpKXhxw+05Dw2dUjZC0YWKAdiDxT6ard Be8mcE5JvYR82cTwoEnUEadWfjV1GQSN0O7+SxwEVFUOmIu9eyCY1Jxfb0I8tYm4AJy+ nFiWoh3oF2VOKtQG/iM1zbIwZxb4xHC2tIYF48c2AM2vEPeRi2FJfr76H13np/LoXH4I +BnwjiD4ERitm+4cMG1XgXngyIXcmNFnGynJ7Vmr1IwmQ2ol7O0I4JI3Fu8LZ4lPgB6a 3aOw== X-Gm-Message-State: AOJu0YwIwcIGQr8g38wryjnN4v7INA8g5mIL+n3sYhTa3mF3ymzdFcar P3xK3K2mi3pBVnGqrgvCgPqjtKSMh3gK2C8g3F3ve01XJazHW7OC6xpnORbK29lm/Mp5fk01IIE /EWuhvOe98hApFiiwBDXHYyWB18A= X-Google-Smtp-Source: AGHT+IH+/GM2zNBkn4T/yi1hxp0xc5FK/Gml3StuuXOnL+7najGrVcL/lXPMxgz58lextLZcpAdi4dGj1exrDi/w6O8= X-Received: by 2002:a05:6122:3110:b0:4ea:edfb:8d89 with SMTP id 71dfb90a1353d-4eb3a4ac8ffmr7321204e0c.12.1717685944012; Thu, 06 Jun 2024 07:59:04 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Kashif Zeeshan Date: Thu, 6 Jun 2024 19:58:52 +0500 Message-ID: Subject: Re: Can't Remote connection by IpV6 To: Marcelo Marloch Cc: pgsql-general@lists.postgresql.org Content-Type: multipart/alternative; boundary="0000000000008757b2061a39ecf4" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --0000000000008757b2061a39ecf4 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Marcelo Yes it's possible to connect remotely with postgres with ipv6 e.g. with psql. If you are facing issues then you need to make sure that you have done the required configurations. Please refer to the following links for more details. https://dba.stackexchange.com/questions/148086/how-do-you-use-psql-client-t= o-connect-to-a-postgresql-ipv6-host https://www.highgo.ca/2020/08/21/how-to-setup-postgresql-on-an-ipv6-enabled= -network/ https://www.bigbinary.com/blog/configure-postgresql-to-allow-remote-connect= ion https://www.postgresql.org/docs/8.1/client-authentication.html Regards Kashif Zeeshan Bitnine Global On Thu, Jun 6, 2024 at 7:46=E2=80=AFPM 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 > --0000000000008757b2061a39ecf4 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi=C2=A0Marcelo

Yes it's possible t= o connect remotely=C2=A0with postgres with ipv6 e.g. with psql.
I= f you are facing issues then you need to make sure that you have done the r= equired configurations.

Please refer to the follow= ing links for more=C2=A0details.



--0000000000008757b2061a39ecf4--