Re: localhost not equal at 127.0.0.1

From: "Nick Fankhauser" <nickf(at)ontko(dot)com>
To: Stéphane Chomat <steph_chomat(at)mac(dot)com>, <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: localhost not equal at 127.0.0.1
Date: 2001-10-31 19:58:57
Message-ID: NEBBLAAHGLEEPCGOBHDGIELNDNAA.nickf@ontko.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc


> When i give no ip address (ex : jdbc:postgresql:dbase ) or i give
> localhost (ex : jdbc:postgresql://localhost/dbase), it take the
> ip address of the machine)

using jdbc:postgresql:dbase has always worked for me, so I think something
else is wrong. Either pg_hba.conf needs to be changed or something is
unusual about IP addresses on you computer.

What OS are you using? (There are known problems with this on MacOSX 10.1)

Is there a line in your pg_hba.conf file that is like this?:

host all 127.0.0.1 255.255.255.255 trust

-NickF

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Dave Cramer 2001-10-31 20:47:26 Re: Staroffice, druid, dbvisualizer compatability
Previous Message Stéphane Chomat 2001-10-31 16:07:24 localhost not equal at 127.0.0.1