pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ludek Finstrle <luf@pzkagis.cz>
To: Paul Lambert <paul.lambert@autoledgers.com.au>
Cc: pgsql-odbc@postgresql.org
Subject: Re: Unable to connect on W2K
Date: Wed, 21 Feb 2007 08:04:55 +0100
Message-ID: <20070221070455.GA14843@soptik.pzkagis.cz> (raw)
In-Reply-To: <45DBBE4C.2000404@autoledgers.com.au>
References: <45DBBE4C.2000404@autoledgers.com.au>

> When I set up a System DSN and try to 'test' the connection, it returns 
> "Could not connect to the server;
> No connection could be made because the target machine refused it.
> [172.17.152.207:5432]"
> 
> My pg_hba.conf file looks like this:
> host    all    all      127.0.0.1/32          password
> host    all    all      172.0.0.0/8           password
> 
> DSN info: 
> DSN='AutoDRS',server='FOOTPRINTS',port='5432',dbase='AutoDRS',user='AutoDRS',passwd='xxxxx'

Hello

server='FOOTPRINTS' - are you sure you can reach you server with this
name? What do you get when you type 'nslookup FOOTPRINTS' in cmd.exe?
Could you try change the server to 127.0.0.1?

Does this work (?):
psql.exe -h FOOTPRINTS -p 5432 -U AutoDRS AutoDRS 

Regards,

Luf



view thread (3+ messages)  latest in thread

Message-ID: <20070221070455.GA14843@soptik.pzkagis.cz>
Permalink:  ../20070221070455.GA14843@soptik.pzkagis.cz/
Also on:    postgresql.org/message-id/20070221070455.GA14843@soptik.pzkagis.cz

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: luf@pzkagis.cz, paul.lambert@autoledgers.com.au
  Subject: Re: Unable to connect on W2K
  In-Reply-To: <20070221070455.GA14843@soptik.pzkagis.cz>
  References: <45DBBE4C.2000404@autoledgers.com.au> <20070221070455.GA14843@soptik.pzkagis.cz>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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