Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1itHOZ-0008Gs-7i for pgsql-odbc@arkaria.postgresql.org; Sun, 19 Jan 2020 20:42:07 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1itHNZ-0006Yj-De for pgsql-odbc@arkaria.postgresql.org; Sun, 19 Jan 2020 20:41:05 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1itHNZ-0006Yc-68 for pgsql-odbc@lists.postgresql.org; Sun, 19 Jan 2020 20:41:05 +0000 Received: from webclient5.webclient5.de ([136.243.32.184]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1itHNV-0007GY-Ac for pgsql-odbc@postgresql.org; Sun, 19 Jan 2020 20:41:04 +0000 Received: from aquila.ladisch.de (unknown [46.114.37.254]) by webclient5.webclient5.de (Postfix) with ESMTPSA id 7B2A855E6672; Sun, 19 Jan 2020 21:40:58 +0100 (CET) Subject: Re: [EXTERNAL] Re: Case 120011521001709 - Issues connecting to postgreSQL server To: Keith Yanase , pgsql-odbc@postgresql.org Cc: "Bhavika Padidala (MINDTREE LIMITED)" , "Prashanth Reddy Kalvakuntla (MINDTREE LIMITED)" , "Vikram Ramagiri (MINDTREE LIMITED)" , support References: <0900a5d33bf9ebc44a87005a06998222@mail.gmail.com> From: Clemens Ladisch Message-ID: <09372b0f-72e6-0d97-05fc-0e1a668fd8ef@ladisch.de> Date: Sun, 19 Jan 2020 21:40:43 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.101.4 at webclient5 X-Virus-Status: Clean List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Keith Yanase wrote: > I ran the command and when I tel psqlODBC to connect to localhost:5432 I get this message in the terminal: > Channel 3: open failed: connect failed: connection refused Does the PostgreSQL server run on the "jupyter" host? Is the database configured to listen on "localhost" or "127.0.0.1"? In the latter case, use "ssh -L localhost:5432:127.0.0.1:5432 jupyter". Regards, Clemens