Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b6NiE-00027M-K0 for pgsql-odbc@arkaria.postgresql.org; Fri, 27 May 2016 19:46:26 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1b6NiD-0006Bh-VZ for pgsql-odbc@arkaria.postgresql.org; Fri, 27 May 2016 19:46:26 +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_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1b6Nhr-0005mK-Ch for pgsql-odbc@postgresql.org; Fri, 27 May 2016 19:46:03 +0000 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1b6Nhn-0003Ev-3j for pgsql-odbc@postgresql.org; Fri, 27 May 2016 19:46:02 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 9CC2B20A5C; Fri, 27 May 2016 15:45:57 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute6.internal (MEProxy); Fri, 27 May 2016 15:45:57 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=aklaver.com; h= content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=mesmtp; bh=mPcCZ5e2yqEz18QFcUxLIWUuH+0=; b=g7lqkp NlsCaIqwRGVtr+JwiZKnHCTEUc/Djtov35sSMqmtoswIaGeaw9eTm5+KVyWLynB2 DfRSltKEWUmqEMptdiRcLZzYf2Rn4pFdzrij4eoXP0rsoATAN3yWWetSv+z2v4bA nvaofvnb1vOM3aFsQ3F8yWTHlSl4o4X9H5GGE= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=mPcCZ5e2yqEz18Q FcUxLIWUuH+0=; b=ZLg6h8w1ORWdKJpR8x/EbdsZJ8EHGFOSRgunOT8iNfkjcSx xLqABYC3V69mbBbj3I6oTjlp5OiExspq3R9+xXcbI7tCFlEJCPrJqw43Qn8wqL4T JVVgyZD0ELgwejGYGu7LH1BhtbTPPUxhQmXfkP95RWOEGpDo3Wo966YOynQ4= X-Sasl-enc: ENGWn7xmjz5Wxp73hfx/xLLhT/00WEjg0apW9lpqrEw8 1464378357 Received: from [192.168.1.2] (174-24-160-10.tukw.qwest.net [174.24.160.10]) by mail.messagingengine.com (Postfix) with ESMTPA id 16722F2A52; Fri, 27 May 2016 15:45:56 -0400 (EDT) Subject: Re: ODBC connections To: Cindy Taylor , "pgsql-odbc@postgresql.org" References: <2D6F66CA95035A4EAF3521A5D0B2E64A66F5B1D7@EXCHMBX2.mossadams.ma> From: Adrian Klaver Message-ID: Date: Fri, 27 May 2016 12:45:56 -0700 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101 Thunderbird/45.1.0 MIME-Version: 1.0 In-Reply-To: <2D6F66CA95035A4EAF3521A5D0B2E64A66F5B1D7@EXCHMBX2.mossadams.ma> Content-Type: text/plain; charset=windows-1252; format=flowed 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-odbc Precedence: bulk Sender: pgsql-odbc-owner@postgresql.org On 05/26/2016 04:42 PM, Cindy Taylor wrote: > I’m setting up an ODBC connection from server A to server B. When I > click test, I get an error, screen shot below. > > > > Using PostGre SQL 9.5, ODBC driver was 9.5.210 x64. I believe I Need to > edit the postgresql.conf file to include the tcpip connections, but I’m > not finding the exact syntax to use. It looks like I need to have –i > somewhere in the conf file? https://www.postgresql.org/docs/9.5/static/runtime-config-connection.html " listen_addresses (string) Specifies the TCP/IP address(es) on which the server is to listen for connections from client applications. The value takes the form of a comma-separated list of host names and/or numeric IP addresses. The special entry * corresponds to all available IP interfaces. The entry 0.0.0.0 allows listening for all IPv4 addresses and :: allows listening for all IPv6 addresses. If the list is empty, the server does not listen on any IP interface at all, in which case only Unix-domain sockets can be used to connect to it. The default value is localhost, which allows only local TCP/IP "loopback" connections to be made. While client authentication (Chapter 19) allows fine-grained control over who can access the server, listen_addresses controls which interfaces accept connection attempts, which can help prevent repeated malicious connection requests on insecure network interfaces. This parameter can only be set at server start." You might also want to check that any firewall between server A and B has port 5432 open. > > > > > > *Cindy Taylor | MOSS ADAMS LLP** > *Database Administrator > > 999 Third Avenue, Suite 3300 > Seattle, WA 98104 > *D****(206)**302-6350 *| *C****(425)**213-4633* > > > > ** > *CONFIDENTIALITY NOTICE > *This e-mail and any attachments are for the sole use of the intended > recipients and contain information that may be confidential or legally > privileged. If you have received this e-mail in error, please notify the > sender by reply e-mail and delete the message. Any disclosure, copying, > distribution, or use of this communication by someone other than the > intended recipient is prohibited. > > > -- Adrian Klaver adrian.klaver@aklaver.com -- Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-odbc