Received: from email03.aon.at (WARSL401PIP8.highway.telekom.at [195.3.96.117]) by postgresql.org (8.11.3/8.11.4) with SMTP id f8U7S1O22076 for ; Sun, 30 Sep 2001 03:28:09 -0400 (EDT) (envelope-from looseleaf@gmx.net) Message-Id: <200109300728.f8U7S1O22076@postgresql.org> Received: (qmail 519012 invoked from network); 30 Sep 2001 07:27:59 -0000 Received: from l0213p12.dipool.highway.telekom.at (HELO mailbox.aon.at) ([62.46.90.140]) (envelope-sender ) by qmail3.highway.telekom.at (qmail-ldap-1.03) with SMTP for ; 30 Sep 2001 07:27:59 -0000 X-Mailer: Ultrafunk Popcorn release 1.04 (13.Jan.2001) X-URL: http://www.ultrafunk.com/products/popcorn Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=iso-8859-1 Date: Sun, 30 Sep 2001 09:32:30 +0100 ((MEZ) Mitteleuropäische Zeit) From: Stefan Huber To: pgsql-admin@postgresql.org Subject: Re: authentication problems X-Archive-Number: 200109/146 X-Sequence-Number: 2247 >Hmmm. Perhaps the host line working fine for ip connections as well, >but something is going wrong in the JDBC-specific ip connections. Is >there a way to make a local ip connection instead of a UNIX socket >connection with psql? As Tom already said, the "host local allow" line has nothing to do with TCP/IP. But if you want to explicitly specify a hostname, then use "-h " or "-h " as parameter to psql. So what do the following commands return? $ psql -h localhost testdb (should be OK) $ psql -h 127.0.0.1 testdb (should be OK) $ psql -h testdb (should be rejected) Maybe a stupid question, but does MacOS have the same path-format as Un*ces? (You wrote about connecting to your DB via JDBC from a MacOS (on another machine?), or did I misinterpret that?) And you said that you never had to specify the host you connect to in your JDBC connect statement. Usually this is a "host=" parameter. I've never used JDBC, but ODBC, Pg, ADO (via ODBC), ... You posted an error message: >The error message I get is: >No entry in pg_hba.conf_file for 169.245.10.10 [or whatever ip >address I happen to be using at the time] for user: postgres >database: testdb How exactly did you connect to your DB and from which computer? Stefan