Re: connect System DSN on windows cli via ODBC to PostgreSQL srv on GNU/Linux

From: Ludek Finstrle <luf(at)pzkagis(dot)cz>
To: Agustin Franco <lagosfranco(at)yahoo(dot)com(dot)ar>
Cc: pgsql-odbc(at)postgresql(dot)org
Subject: Re: connect System DSN on windows cli via ODBC to PostgreSQL srv on GNU/Linux
Date: 2006-07-01 05:37:48
Message-ID: 20060701053748.GA10412@soptik.pzkagis.cz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

Hello,

> sorry for de lack of info; there's no firewall, postmaster is
> not running with '-i' option but i have the "tcpip_socket = true"

Does netstat (on the server) list the pgsql server listening on 5432?

> in my postgresql.conf; in the hostname a set the IP of the server,
> the port is the default 5432; the psqlODBC driver is 07.03.0200.
>
> Do you know what odbc library on the server could be missing here?

No ODBC library is needed on the server side. Could you connect to the
server with psql or pgadmin from the WinXP (client) machine?
I think 07.03 doesn't have problem with IP (as 08.01 has it) but please
try define hostname with its name.

What gives you on WinXP when you try 'telnet <server IP> 5432' from
command line?

BTW I'm going to holidays for one or two weeks so please reply to the
mailing list. Others could help you too ;-)

Regards,

Luf

P.S. Cc: pgsql-odbc(at)postgresql(dot)org

> Ludek Finstrle <luf(at)pzkagis(dot)cz> escribió:
> i'm trying to connect a 'simple' System DSN in a windowsXP machine
> > through ODBC to the PostgreSQL server 7.4.6 on a GNU/Linux machine,
> > and i'm getting this meessage : "Could not connect to remote socket."
>
> The message means that ODBC driver is unable to connect to the backend.
> What about firewall? Does postmaster running with -i (to accept tcp
> connection) on Linux box? Do you properly set the hostname and port
> number? What psqlODBC driver version do you use?
>
> I'm sorry I have no crystal ball.
>
> Regards,
>
> Luf
>
>
>
> ---------------------------------
> Yahoo! Autos. Más de 12.000 vehículos publicados.
> ¿Qué esperás para vender el tuyo?
> Hacelo ahora y ganate un premio de Yahoo!

In response to

Browse pgsql-odbc by date

  From Date Subject
Next Message noreply 2006-07-02 07:34:14 [ psqlodbc-Bugs-1000635 ] Failure with 08.02.0002 / 8.1.3: Cannot read ints of that length
Previous Message Ludek Finstrle 2006-06-29 17:13:11 Re: connect System DSN on windows cli via ODBC to PostgreSQL srv on GNU/Linux