X-Original-To: pgsql-admin@postgresql.org Received: from spampd.localdomain (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id CBEF347635D for ; Thu, 10 Apr 2003 08:18:38 -0400 (EDT) Received: from exchange_geral.intra.cet.pt (unknown [194.65.138.11]) by postgresql.org (Postfix) with ESMTP id 7DE1747631F for ; Thu, 10 Apr 2003 08:18:36 -0400 (EDT) Received: from [10.112.80.105] (10.112.80.105 [10.112.80.105]) by exchange_geral.intra.cet.pt with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id 2JDC5M22; Thu, 10 Apr 2003 13:27:55 +0100 Subject: Re: Windows XP - ODBC From: Pedro Salazar To: Bob Lugering Cc: pgsql-admin In-Reply-To: References: Content-Type: text/plain Organization: Portugal Telecom Inovação, S.A. Message-Id: <1049977005.1769.52.camel@vitoria.intra.cet.pt> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 Date: 10 Apr 2003 13:16:45 +0100 Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=-32.7 required=5.0 tests=BAYES_10,EMAIL_ATTRIBUTION,HEADER_8BITS,IN_REP_TO, REFERENCES,REPLY_WITH_QUOTES,USER_AGENT_XIMIAN autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) X-Archive-Number: 200304/174 X-Sequence-Number: 8329 Hi Bob, On Tue, 2003-04-08 at 23:12, Bob Lugering wrote: > > When I try to connect with my ODBC tools WinProfessionalSQL and PGAdminII I get the following error. > > SQL Error State:08001, Native Error 65, ODBC Error: Could not connect to server. Could not connect to remote socket. > > The server is running, however, it is on the same machine. > > Also attached in my config. I read to enable_sockets so I tried to do so in the config? > > I really need to get ODBC to work. Hope I don't have as much trouble with JDBC. > Just guessing, ... do you run your postgresql with "-o -i" option (TCP/IP) or do you have an entry mapping your client IP address in your pg_hba.conf to allow his access? It's just a guess since I'm not aware of the SQL error codes... ________________________________________________________________________ regards, Pedro Salazar. -- PS pedro-b-salazar@ptinovacao.pt PGP:0E129E31D803BC61