Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lvUWd-0003k8-Qh for pgsql-general@arkaria.postgresql.org; Tue, 22 Jun 2021 00:44:23 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lvUWc-0004Ps-I6 for pgsql-general@arkaria.postgresql.org; Tue, 22 Jun 2021 00:44:22 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lvUWc-0004Pj-6d for pgsql-general@lists.postgresql.org; Tue, 22 Jun 2021 00:44:22 +0000 Received: from mail-qt1-x82e.google.com ([2607:f8b0:4864:20::82e]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1lvUWa-0006Sk-4V for pgsql-general@lists.postgresql.org; Tue, 22 Jun 2021 00:44:21 +0000 Received: by mail-qt1-x82e.google.com with SMTP id j12so417625qtv.11 for ; Mon, 21 Jun 2021 17:44:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=content-transfer-encoding:from:mime-version:subject:message-id:date :to; bh=QfH6yvat9cPPbc0un2BGvP9eE618/2d79lXh197AJMo=; b=ZukmPmIqZ6O/qPzvh9Y7SHhmpPXj14+xFxh52eX5vgz1mmMMO3VeSxfPnng79/B96L pXsv5jC8KpmbhKyvyuTss0dhXQXpw4uQXPljcZQZIcfWFHDvztC7JH+oCquTD1lZrOO4 n+7xZCb45rL+nPe7bKEn/KOwMYHMpE62UL/Kegm3dZL9ZQwBx/5Q+iBoINGlxWSvgECn ZzE0vm1psoODC7fWhwoX4MCex7+F4GQrq7sT6HoAvmm+Qtg2/WNwJDN9Y0sVoZekT5l4 EaEPOqdVDjOAUcG4WgEE+dtgtCpcNXdHUF6ZG6oVXIkjsKFxSzDjmX8qETqlSdMAFI+6 jiVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:content-transfer-encoding:from:mime-version :subject:message-id:date:to; bh=QfH6yvat9cPPbc0un2BGvP9eE618/2d79lXh197AJMo=; b=U4JI++nVqOdqkK6XeBw5a/E92kj9eKFotmNKdN+9TRnkJ845CZRjuGTyNxMXVWPyPC 70T0K+aYCW2WbEpfSX8c42ZDgd5hrQP5vG09DlXhfamiOmnkYkaBEv3Zehvk/Ksi1J/z Vnco6usDpB402QxxuHj7WJN4WVaLL9BZaZyGiDp18FtTBBBYc9bQ9BJI7vG5kNLCSzXg FJ9lhAvunDKU0qJg2Ur0L3E+3H4A3HLcE8sSJr7Ftx6i680/VXu1gJoE8Ile2cuoqP3f VgcJTxMwMryY1EpxwGKmMce4ggsdCLI4uJtjsbgC72lDgejTedhi4yiszQMdDTJLD1FI cjjw== X-Gm-Message-State: AOAM531b70kyf4JMDx5cLec8UFjeiLGKAjb5GDb9oNOZ3dZUOovtjz9A nn5jdtO7rI9dg027x+U9S58tOjpUjFg= X-Google-Smtp-Source: ABdhPJydBUyGETwTGykNt4FToctyRNEBPBTFpBFMpHX11tdz15FBRvxx5uAqDco49WAxlDR+5+FLGw== X-Received: by 2002:ac8:1286:: with SMTP id y6mr1240796qti.58.1624322657992; Mon, 21 Jun 2021 17:44:17 -0700 (PDT) Received: from smtpclient.apple ([104.62.247.40]) by smtp.gmail.com with ESMTPSA id e20sm538270qtr.55.2021.06.21.17.44.17 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 21 Jun 2021 17:44:17 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable From: Jerry Levan Mime-Version: 1.0 (1.0) Subject: Psql wants to use IP6 when connecting to self using tcp... Message-Id: Date: Mon, 21 Jun 2021 19:44:16 -0500 To: pgsql-general@lists.postgresql.org X-Mailer: iPad Mail (18F72) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Today I upgraded my Fedora system to Fedora 35 which included an upgrade to PostgreSQL 13.x.x. I did an initdb and restored my existing db from a dump.=20 I modified pg_hba.conf to allow access machines on my local network host all all 192.168.1.0/24 trust I modified postgresql.conf to listen to all interfaces. Localhost works... [jerry@bigbox ~]$ psql psql (13.3) Type "help" for help. levan=3D# \q The below fails... the 'fe80....' is the ip6 address of big box. [jerry@bigbox ~]$ psql -h bigbox psql: error: FATAL: no pg_hba.conf entry for host "fe80::fe3f:dbff:fed1:f62= e%enp7s0", user "lxxx", database "lxxx", SSL off Using the ip4 address of bigbox works [jerry@bigbox ~]$ psql -h 192.168.1.75 psql (13.3) Type "help" for help. lxxx=3D#=20 I can connect to/from the other machines in my local network... Netstat shows that Postgres is listening on a ip6 interface. What did I have to do get the 'fatal' above case to work? Trapped in Steve Jobs Reality Distortion Field=