X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id B38F252B90 for ; Wed, 13 Jul 2005 05:59:04 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 65566-03 for ; Wed, 13 Jul 2005 08:58:59 +0000 (GMT) Received: from gatekeeper.yes2etl.com (unknown [202.88.179.103]) by svr1.postgresql.org (Postfix) with ESMTP id 9E1FE52B38 for ; Wed, 13 Jul 2005 05:58:57 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by gatekeeper.yes2etl.com (8.12.10/8.12.10) with ESMTP id j6FHQNq7005589 for ; Fri, 15 Jul 2005 22:56:23 +0530 Received: from gatekeeper.yes2etl.com ([127.0.0.1]) by localhost (gatekeeper [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 03962-07 for ; Fri, 15 Jul 2005 22:56:23 +0530 (IST) Received: from mtracks.yes2etl.com (mtracks.yes2etl.com [10.1.2.53]) by gatekeeper.yes2etl.com (8.12.10/8.12.10) with ESMTP id j6FHQJuC005585 for ; Fri, 15 Jul 2005 22:56:19 +0530 Received: from localhost (localhost [127.0.0.1]) by mtracks.yes2etl.com (8.12.10/8.12.10) with ESMTP id j6D8vTQH029809 for ; Wed, 13 Jul 2005 14:27:29 +0530 Received: from mtracks.yes2etl.com ([127.0.0.1]) by localhost (mtracks [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 15982-09 for ; Wed, 13 Jul 2005 14:27:29 +0530 (IST) Received: from [10.1.2.15] (pc-15.yes2etl.com [10.1.2.15]) by mtracks.yes2etl.com (8.12.10/8.12.10) with ESMTP id j6D8vRHv029796 for ; Wed, 13 Jul 2005 14:27:27 +0530 Message-ID: <42D4D72E.4030900@yes2etl.com> Date: Wed, 13 Jul 2005 14:26:14 +0530 From: Minal User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.3) Gecko/20040910 X-Accept-Language: en-us, en MIME-Version: 1.0 To: pgsql-odbc@postgresql.org Subject: pgsql-odbc Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at @@NET_SUBDOMAIN@@.yes2etl.com X-Virus-Scanned: by amavisd-new at @@NET_SUBDOMAIN@@.@@NET_DOMAIN@@ X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.002 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200507/27 X-Sequence-Number: 5493 This is my code which I have included to connect to postgresql in SUSE linux from windows machine. Dim MyDB As New ADODB.Connection Dim Rc As New ADODB.Recordset Private Sub Command1_Click() With MyDB .CursorLocation = adUseClient .Open "Provider='PostgreSQL';Database='test';host='10.1.2.86';" End With End Sub I am getting the following error: "Could not connect to server:connection refused(0x0000274D/10061) is the server running on the host"" and accepting TCP/IP on port 5432" I have modified pg_hba.conf on the linux server to allow connections froms other hosts also. Just dont know what to do?? Minal