pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Bill Hernandez <pgsql@mac-specialist.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: $_SERVER['SERVER_ADDR'] ; returns wrong value "::1"
Date: Thu, 16 Jun 2005 08:49:01 -0400
Message-ID: <14589.1118926141@sss.pgh.pa.us> (raw)
In-Reply-To: <BED67113.D2E5%pgsql@mac-specialist.com>
References: <BED67113.D2E5%pgsql@mac-specialist.com>

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



view thread (3+ messages)

Message-ID: <14589.1118926141@sss.pgh.pa.us>
Permalink:  ../14589.1118926141@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/14589.1118926141@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, pgsql@mac-specialist.com
  Subject: Re: $_SERVER['SERVER_ADDR'] ; returns wrong value "::1"
  In-Reply-To: <14589.1118926141@sss.pgh.pa.us>
  References: <BED67113.D2E5%pgsql@mac-specialist.com> <14589.1118926141@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox