Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1aRkIX-0005qx-RV for pgsql-jdbc@arkaria.postgresql.org; Fri, 05 Feb 2016 17:35:57 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1aRkIX-0007dl-ED for pgsql-jdbc@arkaria.postgresql.org; Fri, 05 Feb 2016 17:35:57 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1aRkIW-0007de-Tc for pgsql-jdbc@postgresql.org; Fri, 05 Feb 2016 17:35:57 +0000 Received: from mail-qg0-x234.google.com ([2607:f8b0:400d:c04::234]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84) (envelope-from ) id 1aRkIQ-0002vj-Du for pgsql-jdbc@postgresql.org; Fri, 05 Feb 2016 17:35:55 +0000 Received: by mail-qg0-x234.google.com with SMTP id o11so72874698qge.2 for ; Fri, 05 Feb 2016 09:35:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:subject:from:to:date:in-reply-to:references:content-type :mime-version:content-transfer-encoding; bh=d9gVvVpnxPiYFoM6hax/+WUU1JUfoGnQiczS6KYFbsw=; b=XENq2uVIHkCQRh0ILAhXgKYq+Wd60AByCVsniXapQCXVHhXj3yWp5rgL1ENAfrkBBJ 6mNtYnkVGphSRpreZ409gPFjIDhQmBKd5iMwKTY6ZBtoGqSgl2CNQA0uObiKb1CKrYOP ABYRg2Bwe4mmHE70sOc4NSA43+ElG3OyVA7ndobBvV+FUcbwJqLutNLI5sOefp/8ZbG/ gqO7OfNpKLp0KqOvfRJX+wYBvBXEnBCqF8wYDr+lSDL8GO3rEAehJ2z1/Yo7Zt1TjVCn qTKCt5ispGr+LB83dNGM8Rq+5rRRamuown7iNy6rzv75e+gJvqwRZfQOnTqhyglLGRdS VinQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:subject:from:to:date:in-reply-to :references:content-type:mime-version:content-transfer-encoding; bh=d9gVvVpnxPiYFoM6hax/+WUU1JUfoGnQiczS6KYFbsw=; b=iBgMnPiDOsWVxytdtJTQT2PDQJl/zqZE9d4musGMI6uOGAUyj+mESNJmX/xw3xzwoz NKP7z6x73Fn+cQaY0JNzVlUD5dgl8wM3IFXEETa04/V1rhlhzMd7yeHFNRVtV+VlIkzO VG2RuEjZ+pjJvu7v56nq5XmsUUpG9v8kkm51NFvIJrGVLe0p/7QqdjddZ+QvJWlgoH8y fR12LxNUAh3mUcIahndnUgtgUCJPNN6BpoMui9Q6m3iGDJsK3c3XMZeMRLMTeKW+XdAI fw+xsDOHM7tp55xLqz/3/wZlWBrG3vn/ARtB1mfCoAnKhOIPdypPsdbSkUENtX1sZ6g6 NMRg== X-Gm-Message-State: AG10YOQAJv8ei1csDVXKXAKw/gO4EayMp7gRW+9nBWD7GZNnB5LkrJWY/GxaFcOsgK9yrA== X-Received: by 10.140.92.111 with SMTP id a102mr17967657qge.92.1454693749720; Fri, 05 Feb 2016 09:35:49 -0800 (PST) Received: from roblaptop ([187.65.195.19]) by smtp.gmail.com with ESMTPSA id 11sm8282098qgx.32.2016.02.05.09.35.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 05 Feb 2016 09:35:49 -0800 (PST) Message-ID: <1454693746.4476.14.camel@gmail.com> Subject: Re: Unable to connect to 9.5 via JDBC driver 1207 From: rob stone To: Thomas Kellerer , pgsql-jdbc@postgresql.org Date: Sat, 06 Feb 2016 04:35:46 +1100 In-Reply-To: References: <1454432904.2165.6.camel@gmail.com> <10633.1454441931@sss.pgh.pa.us> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.18.3-1 Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-Pg-Spam-Score: -2.7 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-jdbc Precedence: bulk Sender: pgsql-jdbc-owner@postgresql.org On Thu, 2016-02-04 at 09:11 +0100, Thomas Kellerer wrote: > Thomas Kellerer schrieb am 02.02.2016 um 21:10: > > I am currently not in the office, but I will see if I can reproduce > > that tomorrow. > > I tried to reproduce this, but unfortunately I couldn't. And the > server logs are also  > no longer available (being just a development/test database) > > One thing that might be interesting: the database was migrated from > 9.4 to 9.5 using pg_upgrade > > As I can't reproduce this any longer, I'm fine with just disposing > this as "probably a user error" > > Thomas > Hello Thomas, Yes, it was just a "user error". I'd compiled 9.5rc1 and was testing it out. Weeks later I downloaded the deb binaries so as to have an "official" version but overlooked pg_hba.conf changes. Thus the JDBC connection failed. So my understanding of this is that it looks up the IP address of "localhost" and then trawls thru pg_hba.conf looking for an entry containing that IP address, and if it exists, try the connection, otherwise throw an error. Cheers, Robert -- Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-jdbc