pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
I have a need to run PostgreSQL on a windows 2000 server
3+ messages / 3 participants
[nested] [flat]

* I have a need to run PostgreSQL on a windows 2000 server
@ 2007-04-05 04:48  H. Krenske <hkrenske@tellsystems.com.au>
  0 siblings, 2 replies; 3+ messages in thread

From: H. Krenske @ 2007-04-05 04:48 UTC (permalink / raw)
  To: pgsql-odbc

Can you point me to a location where I can get information to install and
configure PostgreSQL on a W2K server so that it can be accessed using and
the ODBC interface.  
 
I program in powerbuilder and so far I have been able to use  this strategy
in front of an early version of PostgreSQL running in RH7.2 as well as MS
SQL and Sybase SQL anywhere with very little code modification.  (locking
was the only real issue).
 
However in front of PostgreSQL on windows 2000 it returns the error 
 
SQLSTATE=08001
Could not connect to the server;
Could not connect to the remote socket.
 
Many thanks
Hugh Krenske

^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: I have a need to run PostgreSQL on a windows 2000 server
@ 2007-04-05 08:28  Ludek Finstrle <luf@pzkagis.cz>
  parent: H. Krenske <hkrenske@tellsystems.com.au>
  1 sibling, 0 replies; 3+ messages in thread

From: Ludek Finstrle @ 2007-04-05 08:28 UTC (permalink / raw)
  To: H. Krenske <hkrenske@tellsystems.com.au>; +Cc: pgsql-odbc

> However in front of PostgreSQL on windows 2000 it returns the error 
>  
> SQLSTATE=08001
> Could not connect to the server;
> Could not connect to the remote socket.

What's you connection string? You can turn psqlodbc log or mylog (more
details) so you can see what's the connection string and the problem.
Usualy the problem is in hostname in psqlodbc or the server doesn't allow
TCP/IP connection (postgresql.conf on server) or some firewall between?

Regards,

Luf



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: I have a need to run PostgreSQL on a windows 2000 server
@ 2007-04-05 09:22  Andreas <maps.on@gmx.net>
  parent: H. Krenske <hkrenske@tellsystems.com.au>
  1 sibling, 0 replies; 3+ messages in thread

From: Andreas @ 2007-04-05 09:22 UTC (permalink / raw)
  To: hkrenske@tellsystems.com.au; +Cc: pgsql-odbc

H. Krenske schrieb:
> Can you point me to a location where I can get information to install 
> and configure PostgreSQL on a W2K server so that it can be accessed 
> using and the ODBC interface.
If you use the binary installer version it's just a few clicks and a wee 
bit of editing the config-files.

> I program in powerbuilder and so far I have been able to use  this 
> strategy in front of an early version of PostgreSQL running in RH7.2 
> as well as MS SQL and Sybase SQL anywhere with very little code 
> modification.
The configuration of PG on RH7 shouldn't be all that much different than 
on Windows.
> However in front of PostgreSQL on windows 2000 it returns the error
> SQLSTATE=08001
> Could not connect to the server;
> Could not connect to the remote socket.

Looks like a network/access-rights issue to me.

1)   Do you run any firewall on the Windows server that prohibits access 
to port  5432  ?

2)   Did you enable the option that postmaster should listen for network 
clients?

3)   Have you included the clients IP into the pg_hba.conf file within 
the datadirectory?

4)   Have you tried to access your PG on Windows without ODBC by psql or 
PgAdmin so that you can rule out network issues?





^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2007-04-05 09:22 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2007-04-05 04:48 I have a need to run PostgreSQL on a windows 2000 server H. Krenske <hkrenske@tellsystems.com.au>
2007-04-05 08:28 ` Ludek Finstrle <luf@pzkagis.cz>
2007-04-05 09:22 ` Andreas <maps.on@gmx.net>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox