From jdoench@cinci.rr.com Tue Mar 8 18:09:58 2011 Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 7AFB31337B9C for ; Tue, 8 Mar 2011 14:09:58 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 27969-03 for ; Tue, 8 Mar 2011 18:09:50 +0000 (UTC) X-Greylist: delayed 00:07:38.567134 by SQLgrey-1.7.6 Received: from hrndva-omtalb.mail.rr.com (hrndva-omtalb.mail.rr.com [71.74.56.125]) by mail.postgresql.org (Postfix) with ESMTP id 8994D1337B93 for ; Tue, 8 Mar 2011 14:09:50 -0400 (AST) Received: from hrndva-omtalb.mail.rr.com ([10.128.143.52]) by hrndva-qmta04.mail.rr.com with ESMTP id <20110308180312763.CSEO1970@hrndva-qmta04.mail.rr.com> for ; Tue, 8 Mar 2011 18:03:12 +0000 X-Authority-Analysis: v=1.1 cv=UQuFHoD2CPQ248x8AXEbKhr4z9AaDqApxmEl3BhfZ64= c=1 sm=0 a=uJm5P-e03NoA:10 a=IaEopdJkX1GT9Sr24pzyEg==:17 a=8H2Dr0lE8GaaKza0j5kA:9 a=RZ6vT4RGza88V2b_4pBxPsMde2cA:4 a=CjuIK1q_8ugA:10 a=KQ7RoT_2i7DwJAzN:21 a=zCsnJPD6eF1A0ThR:21 a=03gNMHAzCxFaP0NJOYEA:9 a=olxRc0kNXyWxHhZy0kIA:7 a=J3INPbfNR-KIj1Q_Fk6HPmQoClcA:4 a=b69Kip8qvTTlFo8t:21 a=aBBVtDhrry-B6AZg:21 a=IaEopdJkX1GT9Sr24pzyEg==:117 X-Cloudmark-Score: 0 X-Originating-IP: 75.186.54.178 Received: from [75.186.54.178] ([75.186.54.178:49521] helo=JoeVistaPC) by hrndva-oedge02.mail.rr.com (envelope-from ) (ecelerity 2.2.3.46 r()) with ESMTP id 8B/E7-00963-32F667D4; Tue, 08 Mar 2011 18:02:11 +0000 From: "Joseph Doench" To: Subject: Windows ODBC and a Router obstacle? Date: Tue, 8 Mar 2011 13:01:49 -0500 Message-ID: <006f01cbddba$e5d8b030$b18a1090$@rr.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0070_01CBDD90.FD02CF40" X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AcvduuMrmfKZpmikR/OvqNMbIBMujg== Content-Language: en-us x-cr-hashedpuzzle: Ak/8 Aq3N BGjA BkV8 CTbC CmDb DHmn DLDI D1NL EpBC E6D0 FFIk FKy+ GNCh Kd1z KgYt; 1; cABnAHMAcQBsAC0AbwBkAGIAYwBAAHAAbwBzAHQAZwByAGUAcwBxAGwALgBvAHIAZwA=; Sosha1_v1; 7; {FFDB2F55-FDBD-49A7-8AB3-57EAF84D0711}; agBkAG8AZQBuAGMAaABAAGMAaQBuAGMAaQAuAHIAcgAuAGMAbwBtAA==; Tue, 08 Mar 2011 18:01:45 GMT; VwBpAG4AZABvAHcAcwAgAE8ARABCAEMAIABhAG4AZAAgAGEAIABSAG8AdQB0AGUAcgAgAG8AYgBzAHQAYQBjAGwAZQA/AA== x-cr-puzzleid: {FFDB2F55-FDBD-49A7-8AB3-57EAF84D0711} X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.909 tagged_above=-10 required=5 tests=BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201103/6 X-Sequence-Number: 10597 This is a multi-part message in MIME format. ------=_NextPart_000_0070_01CBDD90.FD02CF40 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit I am trying to connect to my PG 8.2 db server from MS Access from a remote location. I had configured PG to trust all connections from this location. i.e. in PG_HBA.conf I added a line containing: host all all ip-address/32 trust (and restarted the server) But I cannot get a connection. Could there be a problem with the local router in this location? What should I look for in the router set-up? JPD657 ------=_NextPart_000_0070_01CBDD90.FD02CF40 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Windows ODBC and a Router obstacle?

I am trying to = connect to my PG 8.2 db server from MS Access from a remote location.

I had = configured PG = to trust all connections from this location.

i.e. in = PG_HBA.conf I = added a line containing:

host    all    = all    ip-address/32   trust

(and restarted = the server)

But I cannot = get a connection.

Could there be = a problem with the local router in this location?  What should I = look for in the router set-up?

JPD657

------=_NextPart_000_0070_01CBDD90.FD02CF40-- From adrian.klaver@gmail.com Tue Mar 8 18:30:43 2011 Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id C18731337B9C for ; Tue, 8 Mar 2011 14:30:43 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 47794-03 for ; Tue, 8 Mar 2011 18:30:36 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-px0-f174.google.com (mail-px0-f174.google.com [209.85.212.174]) by mail.postgresql.org (Postfix) with ESMTP id 36CA71337B9D for ; Tue, 8 Mar 2011 14:30:36 -0400 (AST) Received: by pxi15 with SMTP id 15so921256pxi.19 for ; Tue, 08 Mar 2011 10:30:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=0nU5qVdCVBAONNntIGRPcM2P/S2cqpIwOzrJG8Qvzxk=; b=nro2KFDyx1lwMN5UEb92cVF2EMNVp/wyhvMgZH9V2mXr36LzI7zT1AytYAnFqL5k9I 0LlnSjuV7zile2d4HJ/UvtjkQftVBKefCQd90+Fe4QC2V+ssZlk/TmP2L3zByDvQ8bZ4 19pNpebLuyEv54YpomFAqMbK6L3/QzAcZ4udI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=ZtPl8ksU+Wr3L+5LNaL3mDqrrxE+hCbY5E+qD/O/Lj8oLBVPpWS8qMxN2aUp48HbBb f6kkw19NKsiX6nFUeeeqiDuJ5MJbmz5fk2p8+WsP/HeBrGYVTRuF2Z3Ph/SzyjgkaC3W EdS24oNTosBBF+kJswjo6KqEP6rpKVOC0JiQI= Received: by 10.142.218.7 with SMTP id q7mr4722920wfg.73.1299609035275; Tue, 08 Mar 2011 10:30:35 -0800 (PST) Received: from [192.168.0.102] (c-24-17-179-185.hsd1.wa.comcast.net [24.17.179.185]) by mx.google.com with ESMTPS id m10sm1302869wfl.11.2011.03.08.10.30.33 (version=SSLv3 cipher=OTHER); Tue, 08 Mar 2011 10:30:34 -0800 (PST) Message-ID: <4D7675C9.5070105@gmail.com> Date: Tue, 08 Mar 2011 10:30:33 -0800 From: Adrian Klaver User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9 MIME-Version: 1.0 To: Joseph Doench CC: pgsql-odbc@postgresql.org Subject: Re: Windows ODBC and a Router obstacle? References: <006f01cbddba$e5d8b030$b18a1090$@rr.com> In-Reply-To: <006f01cbddba$e5d8b030$b18a1090$@rr.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.599 tagged_above=-10 required=5 tests=BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7 X-Spam-Level: X-Archive-Number: 201103/7 X-Sequence-Number: 10598 On 03/08/2011 10:01 AM, Joseph Doench wrote: > I am trying to connect to my PG 8.2 dbserverfrom MS Accessfroma remote > location. > > I had configured PG to trust all connections from this location. > > i.e. in PG_HBA.confI added a line containing: > > host all all ip-address/32 trust > > (and restarted the server) > > But I cannot get a connection. > > Could there be a problem with the local router in this location? What > should I look for in the router set-up? > > JPD657 > A couple of questions: What does the Postgres log show when you try to connect? Do you have another way to connect to the Postgres server from the Access machine and have you tried it? Specifically have you tried using psql to connect? -- Adrian Klaver adrian.klaver@gmail.com From jdoench@cinci.rr.com Wed Mar 9 00:26:02 2011 Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id D42071337B93 for ; Tue, 8 Mar 2011 20:26:02 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 76317-03 for ; Wed, 9 Mar 2011 00:25:55 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from hrndva-omtalb.mail.rr.com (hrndva-omtalb.mail.rr.com [71.74.56.123]) by mail.postgresql.org (Postfix) with ESMTP id 7A0F1133616B for ; Tue, 8 Mar 2011 20:25:55 -0400 (AST) X-Authority-Analysis: v=1.1 cv=3uSaImBeuprzHBlOOPjkqgu+7PcxSRW0m2Aphm9Zmck= c=1 sm=0 a=H9U622XAnnAA:10 a=kj9zAlcOel0A:10 a=IaEopdJkX1GT9Sr24pzyEg==:17 a=5oxU39OFoJ-hFimPSkkA:9 a=9H0IylMLiFiZ1OxeLh0A:7 a=jm_TK18jsOcUXHolD258hFqCrQAA:4 a=CjuIK1q_8ugA:10 a=5ZwV9jzZ6Nh17Dpc:21 a=ddw-oBcPKHm3To0q:21 a=IaEopdJkX1GT9Sr24pzyEg==:117 X-Cloudmark-Score: 0 X-Originating-IP: 75.186.54.178 Received: from [75.186.54.178] ([75.186.54.178:49906] helo=JoeVistaPC) by hrndva-oedge04.mail.rr.com (envelope-from ) (ecelerity 2.2.3.46 r()) with ESMTP id B8/2A-04612-219C67D4; Wed, 09 Mar 2011 00:25:55 +0000 From: "Joseph Doench" To: References: <006f01cbddba$e5d8b030$b18a1090$@rr.com> <4D7675C9.5070105@gmail.com> In-Reply-To: <4D7675C9.5070105@gmail.com> Subject: Re: Windows ODBC and a Router obstacle? Date: Tue, 8 Mar 2011 19:25:31 -0500 Message-ID: <000c01cbddf0$8024dc60$806e9520$@rr.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Content-Language: en-us Thread-Index: AcvdvvL30XamIqwlT1OWm0wd5NWcCwAMR8rw X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-10 required=5 tests=BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201103/8 X-Sequence-Number: 10599 I see this in the PG log: unexpected EOF on client connection could not receive data from client: No connection could be made because the target machine actively refused it. JPD657 > I am trying to connect to my PG 8.2 dbserverfrom MS Accessfroma remote > location. > > I had configured PG to trust all connections from this location. > > i.e. in PG_HBA.confI added a line containing: > > host all all ip-address/32 trust > > (and restarted the server) > > But I cannot get a connection. > > Could there be a problem with the local router in this location? What > should I look for in the router set-up? > > JPD657 > A couple of questions: What does the Postgres log show when you try to connect? Do you have another way to connect to the Postgres server from the Access machine and have you tried it? Specifically have you tried using psql to connect? -- Adrian -- From adrian.klaver@gmail.com Wed Mar 9 00:41:18 2011 Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id ACEC01337B9C for ; Tue, 8 Mar 2011 20:41:18 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 25599-02 for ; Wed, 9 Mar 2011 00:41:11 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-vw0-f46.google.com (mail-vw0-f46.google.com [209.85.212.46]) by mail.postgresql.org (Postfix) with ESMTP id D551A1337B68 for ; Tue, 8 Mar 2011 20:41:10 -0400 (AST) Received: by vws12 with SMTP id 12so23804vws.19 for ; Tue, 08 Mar 2011 16:41:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:reply-to:to:subject:date:user-agent:cc :references:in-reply-to:mime-version:content-type :content-transfer-encoding:message-id; bh=Fc/1SISUytobfuCYWx89pnGI0TWVEXDnL1BB5XQX0WE=; b=lln6Y33s3iIqJmaOAqCovWJrI+8KMV+AWPtBKjDV85jS12VaPcAmsHo2Em1Ydg9WIW bkn9myjN/CPS4YLpK/ZoXlXJ4zUE068wM7ttf/25IeVqW5Kckr9BJslb9PsM/HlnB6bu VSwLNdkay4udZh6XNR9PjDPnKox4m/nOm2egY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:reply-to:to:subject:date:user-agent:cc:references:in-reply-to :mime-version:content-type:content-transfer-encoding:message-id; b=R2xzg6gIPMibxG/XGTb98nr4eXSjLsIMNTUzBxXEL+D2AM9SxrlzrLzjtP+7RsILSn QQM5DX7JuWnBkTxXoQwV1z2WGNdnUykn+bwYvZOd8FYVL312YkOHfBLbDxTQPCP3Wz6W GyilptBVyt49bgM4whybNQMsODV0FUAU6wu9I= Received: by 10.52.68.175 with SMTP id x15mr8075191vdt.163.1299631270423; Tue, 08 Mar 2011 16:41:10 -0800 (PST) Received: from tucker.localnet (c-24-17-164-54.hsd1.wa.comcast.net [24.17.164.54]) by mx.google.com with ESMTPS id es1sm273330vdb.11.2011.03.08.16.41.09 (version=SSLv3 cipher=OTHER); Tue, 08 Mar 2011 16:41:09 -0800 (PST) From: Adrian Klaver Reply-To: adrian.klaver@gmail.com To: pgsql-odbc@postgresql.org Subject: Re: Windows ODBC and a Router obstacle? Date: Tue, 8 Mar 2011 16:41:08 -0800 User-Agent: KMail/1.13.5 (Linux/2.6.32-29-generic; KDE/4.4.5; i686; ; ) Cc: "Joseph Doench" References: <006f01cbddba$e5d8b030$b18a1090$@rr.com> <4D7675C9.5070105@gmail.com> <000c01cbddf0$8024dc60$806e9520$@rr.com> In-Reply-To: <000c01cbddf0$8024dc60$806e9520$@rr.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201103081641.08501.adrian.klaver@gmail.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.589 tagged_above=-10 required=5 tests=BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, T_TO_NO_BRKTS_FREEMAIL=0.01 X-Spam-Level: X-Archive-Number: 201103/9 X-Sequence-Number: 10600 On Tuesday, March 08, 2011 4:25:31 pm Joseph Doench wrote: > I see this in the PG log: > > unexpected EOF on client connection > could not receive data from client: No connection could be made because the > target machine actively refused it. > > JPD657 So Access/ODBC is getting out but the Postgres server cannot get back to the Windows machine. First I do not use Windows much any more, so my suggestions will be general. I would start by taking a look at the Windows Firewall program and see if is blocking incoming connections for non standard ports. What sort of router are we talking about, home type(Netgear,Linksys,etc) or enterprise type? I have not a home type block returning data from an established connection, mainly because they are fairly open. -- Adrian Klaver adrian.klaver@gmail.com From jdoench@cinci.rr.com Wed Mar 9 02:10:07 2011 Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 397E01337BD8 for ; Tue, 8 Mar 2011 22:10:07 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 35984-04 for ; Wed, 9 Mar 2011 02:09:58 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from hrndva-omtalb.mail.rr.com (hrndva-omtalb.mail.rr.com [71.74.56.123]) by mail.postgresql.org (Postfix) with ESMTP id E46E11337BD1 for ; Tue, 8 Mar 2011 22:09:55 -0400 (AST) X-Authority-Analysis: v=1.1 cv=+c36koQ5Dcj/1qolKHjtkYAGXvrVJRRiKMp+84F5sLg= c=1 sm=0 a=H9U622XAnnAA:10 a=kj9zAlcOel0A:10 a=IaEopdJkX1GT9Sr24pzyEg==:17 a=Tzop6mEn_8y9lb8zGBgA:9 a=9gw3K0ph3sZR6twv0WMA:7 a=zJ9Q-45liAa4jfecc3OZFNgQNHUA:4 a=CjuIK1q_8ugA:10 a=IaEopdJkX1GT9Sr24pzyEg==:117 X-Cloudmark-Score: 0 X-Originating-IP: 75.186.54.178 Received: from [75.186.54.178] ([75.186.54.178:49998] helo=JoeVistaPC) by hrndva-oedge03.mail.rr.com (envelope-from ) (ecelerity 2.2.3.46 r()) with ESMTP id AD/F7-24070-371E67D4; Wed, 09 Mar 2011 02:09:56 +0000 From: "Joseph Doench" To: References: <006f01cbddba$e5d8b030$b18a1090$@rr.com> <4D7675C9.5070105@gmail.com> <000c01cbddf0$8024dc60$806e9520$@rr.com> <201103081641.08501.adrian.klaver@gmail.com> In-Reply-To: <201103081641.08501.adrian.klaver@gmail.com> Subject: Re: Windows ODBC and a Router obstacle? Date: Tue, 8 Mar 2011 21:09:31 -0500 Message-ID: <001b01cbddff$07dacd50$179067f0$@rr.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Content-Language: en-us Thread-Index: Acvd9wrqgeyNlTsmTSK0e1deJjovFgAB0zIA X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-10 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201103/10 X-Sequence-Number: 10601 The router is a 'home' type... less than 2 or 3 years old... has 802.11n I'll have to take a look into it tomorrow. > I see this in the PG log: > > unexpected EOF on client connection > could not receive data from client: No connection could be made because the > target machine actively refused it. > > JPD657 So Access/ODBC is getting out but the Postgres server cannot get back to the Windows machine. First I do not use Windows much any more, so my suggestions will be general. I would start by taking a look at the Windows Firewall program and see if is blocking incoming connections for non standard ports. What sort of router are we talking about, home type(Netgear,Linksys,etc) or enterprise type? I have not a home type block returning data from an established connection, mainly because they are fairly open. -- Adrian From philippe.lang@attiksystem.ch Tue Mar 22 15:27:41 2011 Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id C682F1337B6E for ; Tue, 22 Mar 2011 12:27:41 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 14258-02 for ; Tue, 22 Mar 2011 15:27:23 +0000 (UTC) X-Greylist: delayed 00:36:22.259489 by SQLgrey-1.7.6 Received: from smtp1.attiksystem.ch (j108.attiksystem.ch [83.222.130.108]) by mail.postgresql.org (Postfix) with ESMTP id 65CB11337B68 for ; Tue, 22 Mar 2011 12:27:23 -0300 (ADT) Received: from j115.attiksystem.ch ([83.222.130.115] helo=remote.attiksystem.ch) by smtp1.attiksystem.ch with esmtp (Exim 4.69) (envelope-from ) id 1Q22vC-0002iZ-0q; Tue, 22 Mar 2011 15:50:58 +0100 Received: from SBS1.attiksystem.local ([fe80::4469:9937:b96c:b849]) by SBS1.attiksystem.local ([fe80::4469:9937:b96c:b849%10]) with mapi; Tue, 22 Mar 2011 15:50:52 +0100 From: Philippe Lang To: Joseph Doench , "pgsql-odbc@postgresql.org" Date: Tue, 22 Mar 2011 15:50:51 +0100 Subject: Re: Windows ODBC and a Router obstacle? Thread-Topic: [ODBC] Windows ODBC and a Router obstacle? Thread-Index: AcvduuMrmfKZpmikR/OvqNMbIBMujgK5Rm2g Message-ID: <8AE5A725DAF7364F97FF75D99E45B65779279B9E@SBS1.attiksystem.local> References: <006f01cbddba$e5d8b030$b18a1090$@rr.com> In-Reply-To: <006f01cbddba$e5d8b030$b18a1090$@rr.com> Accept-Language: fr-FR, fr-CH Content-Language: fr-FR X-MS-Has-Attach: yes X-MS-TNEF-Correlator: x-pgp-encoding-format: MIME x-pgp-encoding-version: 2.0.2 x-pgp-mapi-encoding-version: 2.5.0 acceptlanguage: fr-FR, fr-CH Content-Type: multipart/signed; boundary="PGP_Universal_AFF6DAFA_2EDA38B8_F8876D99_12F20F01"; protocol="application/pgp-signature"; micalg=pgp-sha256 MIME-Version: 1.0 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-10 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201103/15 X-Sequence-Number: 10606 --PGP_Universal_AFF6DAFA_2EDA38B8_F8876D99_12F20F01 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: QUOTED-PRINTABLE Hi, Is your router configured with NAT maybe? If yes, the source IP of your pac= kets is the one of the router, not the remote location. Try trusting everything from everywhere in your pg_hba.conf file, just to m= ake sure it's a network problem... ------------------------------------------------------------- Attik System web : http://www.attiksystem.ch Philippe Lang phone : +41 26 422 13 75 rte de la Fonderie 2 gsm : +41 79 351 49 94 1700 Fribourg twitter: @philippelang pgp : http://keyserver.pgp.com=20 > -----Message d'origine----- > De=C2=A0: pgsql-odbc-owner@postgresql.org [mailto:pgsql-odbc- > owner@postgresql.org] De la part de Joseph Doench > Envoy=C3=A9=C2=A0: mardi 8 mars 2011 19:02 > =C3=80=C2=A0: pgsql-odbc@postgresql.org > Objet=C2=A0: [ODBC] Windows ODBC and a Router obstacle? >=20 > I am trying to connect to my PG 8.2 db server from MS Access from a > remote location. >=20 > I had configured PG to trust all connections from this location. >=20 > i.e. in PG_HBA.conf I added a line containing: >=20 > host all all ip-address/32 trust >=20 > (and restarted the server) >=20 > But I cannot get a connection. >=20 > Could there be a problem with the local router in this location? What > should I look for in the router set-up? >=20 > JPD657 --PGP_Universal_AFF6DAFA_2EDA38B8_F8876D99_12F20F01 Content-Type: application/pgp-signature; name="PGP.sig" Content-Transfer-Encoding: 7BIT Content-Disposition: attachment; filename="PGP.sig" -----BEGIN PGP SIGNATURE----- Version: 10.1.1 (Build 10) iQEVAwUBTYi3S1Vut9/n/zM8AQhD/Qf/Z0WkXYeQbB4ZwqGgvDBh9shgWrCHfJMo E6aUKk3XdLd8EIp72quHjabhS9nbdirjau2mwITQ9A+I4KA24N2t8vUk3ED6Nk3k b0lectB3JTwkp1J8I2ELTaOebdLf1M50jkrL3GZ6/tUaExLE+paAHY+klUorWZR/ CmsFk/uZpBh+yBIsGIFW1CLqdZ1kE7x04PngVmRcs1RyboplzuP4yDTQhdip0J0o SgmmhbryVyabIBL3u/n2TlhVGq/8MItprFxXI+yuJONaR437VMKIMsJYDVYKySlS vJIhxTkN0A6WpzeYr0z/1PByAnXV9VFYimJzffHBqQIk/aQp1bMFpA== =gV0y -----END PGP SIGNATURE----- --PGP_Universal_AFF6DAFA_2EDA38B8_F8876D99_12F20F01-- From jdoench@cinci.rr.com Tue Mar 22 18:01:07 2011 Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id D95F91337B68 for ; Tue, 22 Mar 2011 15:01:07 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 86263-01 for ; Tue, 22 Mar 2011 18:00:49 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from hrndva-omtalb.mail.rr.com (hrndva-omtalb.mail.rr.com [71.74.56.122]) by mail.postgresql.org (Postfix) with ESMTP id 9B2711337999 for ; Tue, 22 Mar 2011 15:00:49 -0300 (ADT) X-Authority-Analysis: v=1.1 cv=aqMe+0lCtaYvy4h0jyaoPGyq+DPF+P6rPG2xbekoY9Q= c=1 sm=0 a=H9U622XAnnAA:10 a=IkcTkHD0fZMA:10 a=IaEopdJkX1GT9Sr24pzyEg==:17 a=epTmVMiNAAAA:8 a=bQjg6EQQAAAA:8 a=-K9XGkUxAAAA:8 a=cZgLiooUj5kx8OTtAuIA:9 a=aP29X8eOGAKVGXsBqMijWMCdNqMA:4 a=QEXdDO2ut3YA:10 a=YObXiYvaVLwA:10 a=Jpxnqe0Kes2nL8bL:21 a=5hGu3hoov_z50SJ4:21 a=IaEopdJkX1GT9Sr24pzyEg==:117 X-Cloudmark-Score: 0 X-Originating-IP: 75.186.54.178 Received: from [75.186.54.178] ([75.186.54.178:51057] helo=JoeVistaPC) by hrndva-oedge01.mail.rr.com (envelope-from ) (ecelerity 2.2.3.46 r()) with ESMTP id 96/F0-20102-0D3E88D4; Tue, 22 Mar 2011 18:00:48 +0000 From: "Joseph Doench" To: References: <006f01cbddba$e5d8b030$b18a1090$@rr.com> <8AE5A725DAF7364F97FF75D99E45B65779279B9E@SBS1.attiksystem.local> In-Reply-To: <8AE5A725DAF7364F97FF75D99E45B65779279B9E@SBS1.attiksystem.local> Subject: Re: Windows ODBC and a Router obstacle? Date: Tue, 22 Mar 2011 14:00:16 -0400 Message-ID: <003b01cbe8bb$00408d70$00c1a850$@rr.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AcvduuMrmfKZpmikR/OvqNMbIBMujgK5Rm2gAAaydqA= Content-Language: en-us X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-10 required=5 tests=BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201103/16 X-Sequence-Number: 10607 Problem resolved. DOH ! Overlooked a silly mistake - a firewall setting. Thanks for you time, JPD -----Original Message----- From: pgsql-odbc-owner@postgresql.org = [mailto:pgsql-odbc-owner@postgresql.org] On Behalf Of Philippe Lang Sent: Tuesday, March 22, 2011 10:51 AM To: Joseph Doench; pgsql-odbc@postgresql.org Subject: Re: [ODBC] Windows ODBC and a Router obstacle? Hi, Is your router configured with NAT maybe? If yes, the source IP of your = packets is the one of the router, not the remote location. Try trusting everything from everywhere in your pg_hba.conf file, just = to make sure it's a network problem... ------------------------------------------------------------- Attik System web : http://www.attiksystem.ch Philippe Lang phone : +41 26 422 13 75 rte de la Fonderie 2 gsm : +41 79 351 49 94 1700 Fribourg twitter: @philippelang pgp : http://keyserver.pgp.com=20 > -----Message d'origine----- > De : pgsql-odbc-owner@postgresql.org [mailto:pgsql-odbc-=20 > owner@postgresql.org] De la part de Joseph Doench Envoy=C3=A9 : mardi = 8=20 > mars 2011 19:02 =C3=80 : pgsql-odbc@postgresql.org Objet : [ODBC] = Windows=20 > ODBC and a Router obstacle? >=20 > I am trying to connect to my PG 8.2 db server from MS Access from a=20 > remote location. >=20 > I had configured PG to trust all connections from this location. >=20 > i.e. in PG_HBA.conf I added a line containing: >=20 > host all all ip-address/32 trust >=20 > (and restarted the server) >=20 > But I cannot get a connection. >=20 > Could there be a problem with the local router in this location? What = > should I look for in the router set-up? >=20 > JPD657