pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
ODBC connection to PostgreSQL
4+ messages / 3 participants
[nested] [flat]

* ODBC connection to PostgreSQL
@ 2001-04-27 15:22 Christian Marschalek <cm@chello.at>
  2001-04-27 16:12 ` Re: ODBC connection to PostgreSQL Oliver Vecernik <vecernik@aon.at>
  2001-04-27 16:32 ` Re: ODBC connection to PostgreSQL Stefan Huber <schweinsaug@crosswinds.net>
  0 siblings, 2 replies; 4+ messages in thread

From: Christian Marschalek @ 2001-04-27 15:22 UTC (permalink / raw)
  To: pgsql-admin

I installed the PostgreSQL ODBC dll, but everytime I'm trying to connect
to my database server (witch is another machine in my network) I get the
error "Couldn't connect to server, couldn't connect to remote socket" 

Now I wonder how I have to configure the postmaster to get this
working...

Telnetting and stuff works without a Problem (even samba) so it's not
the network. In the ODBC Settings the server is my DB Servers IP
(192.168.0.1) user name and database values should be right :)

Any clues?

Thanks! Chris




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

* Re: ODBC connection to PostgreSQL
  2001-04-27 15:22 ODBC connection to PostgreSQL Christian Marschalek <cm@chello.at>
@ 2001-04-27 16:12 ` Oliver Vecernik <vecernik@aon.at>
  1 sibling, 0 replies; 4+ messages in thread

From: Oliver Vecernik @ 2001-04-27 16:12 UTC (permalink / raw)
  To: Christian Marschalek <cm@chello.at>; +Cc: pgsql-admin

Christian Marschalek wrote:
> 
> I installed the PostgreSQL ODBC dll, but everytime I'm trying to connect
> to my database server (witch is another machine in my network) I get the
> error "Couldn't connect to server, couldn't connect to remote socket"
> 
> Now I wonder how I have to configure the postmaster to get this
> working...
> 
> Telnetting and stuff works without a Problem (even samba) so it's not
> the network. In the ODBC Settings the server is my DB Servers IP
> (192.168.0.1) user name and database values should be right :)

You need to configure pg_hba.conf. More information at:

 
http://www.at.postgresql.org/users-lounge/docs/7.0/admin/security.htm#AEN1345

Hope this helps.

Oliver



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

* Re: ODBC connection to PostgreSQL
  2001-04-27 15:22 ODBC connection to PostgreSQL Christian Marschalek <cm@chello.at>
@ 2001-04-27 16:32 ` Stefan Huber <schweinsaug@crosswinds.net>
  2001-04-27 17:38   ` RE: ODBC connection to PostgreSQL Christian Marschalek <cm@chello.at>
  1 sibling, 1 reply; 4+ messages in thread

From: Stefan Huber @ 2001-04-27 16:32 UTC (permalink / raw)
  To: pgsql-admin


>Now I wonder how I have to configure the postmaster to get this
>working...

Try starting it with the -i option to tell the postmaster to listen to TCP 
Sockets, too.

If it isn't that, you might have a different port, the postmaster is 
listening to, or a "misconfigured" firewall/packetfilter.

Stefan
-- 
Murphy's Laws: "If anything simply cannot go wrong, it will anyway."




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

* RE: ODBC connection to PostgreSQL
  2001-04-27 15:22 ODBC connection to PostgreSQL Christian Marschalek <cm@chello.at>
  2001-04-27 16:32 ` Re: ODBC connection to PostgreSQL Stefan Huber <schweinsaug@crosswinds.net>
@ 2001-04-27 17:38   ` Christian Marschalek <cm@chello.at>
  0 siblings, 0 replies; 4+ messages in thread

From: Christian Marschalek @ 2001-04-27 17:38 UTC (permalink / raw)
  To: 'Stefan Huber' <schweinsaug@crosswinds.net>; +Cc: pgsql-admin

That helped, thanks!

> -----Original Message-----
> From: pgsql-admin-owner@postgresql.org 
> [mailto:pgsql-admin-owner@postgresql.org] On Behalf Of Stefan Huber
> Sent: Friday, April 27, 2001 6:32 PM
> To: pgsql-admin@postgresql.org
> Subject: Re: [ADMIN] ODBC connection to PostgreSQL
> 
> 
> 
> >Now I wonder how I have to configure the postmaster to get this 
> >working...
> 
> Try starting it with the -i option to tell the postmaster to 
> listen to TCP 
> Sockets, too.
> 
> If it isn't that, you might have a different port, the postmaster is 
> listening to, or a "misconfigured" firewall/packetfilter.
> 
> Stefan
> -- 
> Murphy's Laws: "If anything simply cannot go wrong, it will anyway."
> 
> 
> ---------------------------(end of 
> broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
>     (send "unregister YourEmailAddressHere" to 
> majordomo@postgresql.org)
> 




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


end of thread, other threads:[~2001-04-27 17:38 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2001-04-27 15:22 ODBC connection to PostgreSQL Christian Marschalek <cm@chello.at>
2001-04-27 16:12 ` Oliver Vecernik <vecernik@aon.at>
2001-04-27 16:32 ` Stefan Huber <schweinsaug@crosswinds.net>
2001-04-27 17:38   ` Christian Marschalek <cm@chello.at>

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