Re: $_SERVER['SERVER_ADDR'] ; returns wrong value "::1" - Mailing list pgsql-admin

From Tom Lane
Subject Re: $_SERVER['SERVER_ADDR'] ; returns wrong value "::1"
Date
Msg-id 14589.1118926141@sss.pgh.pa.us
Whole thread Raw
In response to $_SERVER['SERVER_ADDR'] ; returns wrong value "::1"  (Bill Hernandez <pgsql@mac-specialist.com>)
List pgsql-admin
Bill Hernandez <pgsql@mac-specialist.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

pgsql-admin by date:

Previous
From: Tom Lane
Date:
Subject: Re: Indexes getting corrupted.
Next
From: grupos
Date:
Subject: Re: [SQL] PostgreSQL and Delphi 6