Re: $_SERVER['SERVER_ADDR'] ; returns wrong value "::1"

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bill Hernandez <pgsql(at)mac-specialist(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: $_SERVER['SERVER_ADDR'] ; returns wrong value "::1"
Date: 2005-06-16 12:49:01
Message-ID: 14589.1118926141@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Bill Hernandez <pgsql(at)mac-specialist(dot)com> writes:
> SERVER_ADDR ::1
> REMOTE_ADDR ::1

> I have no clue where the "::1" is coming from ?

Looks perfectly fine to me; that's the usual IPv6 notation for "local
loopback connection", AFAIK. If your client code cannot cope with IPv6
addresses, consider disabling IPv6 in your network preferences.

regards, tom lane

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message grupos 2005-06-16 12:54:21 Re: [SQL] PostgreSQL and Delphi 6
Previous Message Tom Lane 2005-06-16 12:25:27 Re: Indexes getting corrupted.