From ksc133@singnet.com.sg Fri Mar 12 07:08:11 2004 X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 3CC96D1D1C3 for ; Fri, 12 Mar 2004 07:08:11 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 99127-10 for ; Fri, 12 Mar 2004 03:08:08 -0400 (AST) Received: from smtp12.singnet.com.sg (smtp12.singnet.com.sg [165.21.6.22]) by svr1.postgresql.org (Postfix) with ESMTP id C3B19D1CA65 for ; Fri, 12 Mar 2004 03:08:03 -0400 (AST) Received: from win (bb-203-125-95-226.singnet.com.sg [203.125.95.226]) by smtp12.singnet.com.sg (8.12.11/8.12.11) with SMTP id i2C782MP007797 for ; Fri, 12 Mar 2004 15:08:02 +0800 Message-ID: <000e01c40800$cf01cb40$6e64a8c0@win> From: "chor kim seng" To: Subject: MS Access error "could not connect to remote socket" Date: Fri, 12 Mar 2004 15:08:23 +0800 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_000B_01C40843.DCFD37F0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=2.5 tagged_above=0.0 required=5.0 tests=BAYES_10, DEAR_SOMETHING, FROM_ENDS_IN_NUMS, HTML_MESSAGE X-Spam-Level: ** X-Archive-Number: 200403/35 X-Sequence-Number: 3837 This is a multi-part message in MIME format. ------=_NextPart_000_000B_01C40843.DCFD37F0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable dear sir, i'm trying to set up a win2k client to connect to postgreSQL running on red= hat 7.2. but every time i try to connect MS Access, the error pops up. error: "ODBC --call failed. could not connect to server; could not connect to remote socket." i've checked that firewall on redhat 7.2 was disable via lokkit. i've created root as a postgreSQL user. i've aslo allow host ip win2k to access postgreSQL.=20 i've used the latest ODBC driver for postgreSQL i use root account to connect MS Access to postgreSQL. =20 win2k can ping and see redhat on the network browser. win2k can also access the shared samba files. i've tried to connect to MySQL but also can't connect. error: host 192.168.100.110 not allow to connect to this MySQL server. pls help me. thanks! ------=_NextPart_000_000B_01C40843.DCFD37F0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
dear sir,
 
i'm trying to set up a win2k client to con= nect to=20 postgreSQL running on redhat 7.2.
but every time i try to connect MS Access,= the=20 error pops up. error:
"ODBC --call failed.
could not connect to server;
could not connect to remote socket."
 
i've checked that firewall on redhat 7.2 w= as=20 disable via lokkit.
i've created root as a postgreSQL=20 user.
i've aslo allow host ip win2k to=20 access postgreSQL. 
i've used the latest ODBC driver for=20 postgreSQL
i use root account to connect MS Acce= ss to=20 postgreSQL.
 
win2k can ping and see redhat on the netwo= rk=20 browser.
win2k can also access the shared samba=20 files.
 
i've tried to connect to MySQL but also ca= n't=20 connect.
error:
host 192.168.100.110 not allow to connect = to this=20 MySQL server.
 
pls help me. thanks!
 
 
------=_NextPart_000_000B_01C40843.DCFD37F0-- From dev@archonet.com Fri Mar 12 08:55:25 2004 X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 9E6BFD1B903 for ; Fri, 12 Mar 2004 08:55:25 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 38554-01 for ; Fri, 12 Mar 2004 04:55:18 -0400 (AST) Received: from anchor-post-30.mail.demon.net (anchor-post-30.mail.demon.net [194.217.242.88]) by svr1.postgresql.org (Postfix) with ESMTP id 428CCD1CA65 for ; Fri, 12 Mar 2004 04:55:15 -0400 (AST) Received: from mwynhau.demon.co.uk ([193.237.186.96] helo=mainbox.archonet.com) by anchor-post-30.mail.demon.net with esmtp (Exim 3.35 #1) id 1B1iRj-000JZU-0U; Fri, 12 Mar 2004 08:55:11 +0000 Received: by mainbox.archonet.com (Postfix, from userid 529) id BF36817D63; Fri, 12 Mar 2004 08:55:08 +0000 (GMT) Received: from client17.archonet.com (client17.archonet.com [192.168.1.17]) by mainbox.archonet.com (Postfix) with ESMTP id 35B4916387; Fri, 12 Mar 2004 08:55:06 +0000 (GMT) From: Richard Huxton To: "chor kim seng" , Subject: Re: MS Access error "could not connect to remote socket" Date: Fri, 12 Mar 2004 08:55:05 +0000 User-Agent: KMail/1.5 References: <000e01c40800$cf01cb40$6e64a8c0@win> In-Reply-To: <000e01c40800$cf01cb40$6e64a8c0@win> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200403120855.05426.dev@archonet.com> X-Bogosity: No, tests=bogofilter, spamicity=0.000000, version=0.15.3 X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200403/37 X-Sequence-Number: 3839 On Friday 12 March 2004 07:08, chor kim seng wrote: > dear sir, > > i'm trying to set up a win2k client to connect to postgreSQL running on > redhat 7.2. but every time i try to connect MS Access, the error pops up. > error: "ODBC --call failed. > could not connect to server; > could not connect to remote socket." > > i've checked that firewall on redhat 7.2 was disable via lokkit. > i've created root as a postgreSQL user. > i've aslo allow host ip win2k to access postgreSQL. > i've used the latest ODBC driver for postgreSQL > i use root account to connect MS Access to postgreSQL. You don't need root as a PostgreSQL user, but you've taken most of the obvious steps. One thing to try is open up a command-prompt and type something like: telnet 192.168.1.2:5432 Where 192.168.1.2 is the IP address of your PostgreSQL machine. Type a few characters and hit return once or twice and you should get an error message back from PG saying connection refused. If you can't connect using telnet, then either: 1. The firewall is still there 2. PG isn't listening on socket 5432 Check your postgresql.conf file and make sure you are accepting tcp/ip connections. Also check your settings in pg_hba.conf Hope that gets you started - reply back to the list if you still have problems. -- Richard Huxton Archonet Ltd