pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: sdfasdf asdfasdf <sofiamay@mail.ru>
Cc: pgsql-bugs@postgreSQL.org
Subject: Re: Re[2]: [BUGS] BUG #10140: Configured for 127.0.0.1 but binds to all IP
Date: Fri, 25 Apr 2014 16:10:10 -0400
Message-ID: <23958.1398456610@sss.pgh.pa.us> (raw)
In-Reply-To: <1398455454.104475072@f346.i.mail.ru>
References: <20140425075608.2714.57886@wrigleys.postgresql.org>
	<12973.1398452941@sss.pgh.pa.us>
	<1398455454.104475072@f346.i.mail.ru>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

=?UTF-8?B?c2RmYXNkZiBhc2RmYXNkZg==?= <sofiamay@mail.ru> writes:
> In Console:
> **********************************
> psql -U postgres
> show listen_addresses;

> output:
> listen_addresses
> ------------------
> *
> (1 User)
> **********************************

Well, if it's saying that, then it's not a bug that it is in fact
binding to all addresses.

I suspect Stephen was right that you forgot to restart the postmaster
after changing the configuration file.  (pg_ctl reload is *not* enough for
changing this parameter.)

Another theory is that the file you edited isn't the one the postmaster
is looking at.  ("show config_file" would help diagnose this.)

Another theory is that the config file setting is being overridden by
some higher-priority setting, such as "-i" on the postmaster command
line.  (Looking at the source for listen_addresses in
"select * from pg_settings" would help diagnose this case.)

			regards, tom lane


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (5+ messages)  latest in thread

Message-ID: <23958.1398456610@sss.pgh.pa.us>
Permalink:  ../23958.1398456610@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/23958.1398456610@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-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, sofiamay@mail.ru
  Subject: Re: [BUGS] BUG #10140: Configured for 127.0.0.1 but binds to all IP
  In-Reply-To: <23958.1398456610@sss.pgh.pa.us>
  References: <20140425075608.2714.57886@wrigleys.postgresql.org> <12973.1398452941@sss.pgh.pa.us> <1398455454.104475072@f346.i.mail.ru> <23958.1398456610@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