Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-jdbc by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group