pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: ourdiaspora <ourdiaspora@protonmail.com>
Cc: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: php connection failure
Date: Sat, 07 Aug 2021 19:11:07 -0400
Message-ID: <2852725.1628377867@sss.pgh.pa.us> (raw)
In-Reply-To: <Zg_1LULyXJHutjLddDrqHhkIzu2OvGAiA9IPU6wyqgZpDOIuc4zjsqvwLCfoumyOHYlza3JH6yJ_VQWFtHK8eByyBm4pq-wHNONy9KSq144=@protonmail.com>
References: <rzszV54MMnHHEeW_3AqpkJKS_lMTEZUq_D6WR9JyfSMlgX76QeWjgy_H8YzslU2hvQef-XR2YBSNCMZS4CaJABdZp3uRR7FTU9MBqgLdEhw=@protonmail.com>
	<d9d1d112-16d8-c92b-981e-4c14aaa906e5@aklaver.com>
	<YkLdfOX_3gv9n7MfrpTel4LhjQiTtv30opOMkZ3vwMcnfK14ZXCMYdxYBQdEIJxbb4YS8fhBi9FdLocsw81gCAZ08f0v3UvdVdhWU3r1-bg=@protonmail.com>
	<fc2ad2b8-6b8f-8eb1-ad8f-c55a503eb2c4@aklaver.com>
	<Zg_1LULyXJHutjLddDrqHhkIzu2OvGAiA9IPU6wyqgZpDOIuc4zjsqvwLCfoumyOHYlza3JH6yJ_VQWFtHK8eByyBm4pq-wHNONy9KSq144=@protonmail.com>

ourdiaspora <ourdiaspora@protonmail.com> writes:
> The postgresql server was restarted, successfully.
> listen_addresses = 'localhost'

I believe on most machines, that would result in the postmaster
only listening on 127.0.0.1, and ::1 if you're IPv6-enabled.
If php is trying to connect to something else, like say the
machine's external IP address, that could be your issue.

			regards, tom lane





view thread (36+ messages)  latest in thread

Message-ID: <2852725.1628377867@sss.pgh.pa.us>
Permalink:  ../2852725.1628377867@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/2852725.1628377867@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-general@postgresql.org
  Cc: tgl@sss.pgh.pa.us, ourdiaspora@protonmail.com
  Subject: Re: php connection failure
  In-Reply-To: <2852725.1628377867@sss.pgh.pa.us>
  References: <rzszV54MMnHHEeW_3AqpkJKS_lMTEZUq_D6WR9JyfSMlgX76QeWjgy_H8YzslU2hvQef-XR2YBSNCMZS4CaJABdZp3uRR7FTU9MBqgLdEhw=@protonmail.com> <d9d1d112-16d8-c92b-981e-4c14aaa906e5@aklaver.com> <YkLdfOX_3gv9n7MfrpTel4LhjQiTtv30opOMkZ3vwMcnfK14ZXCMYdxYBQdEIJxbb4YS8fhBi9FdLocsw81gCAZ08f0v3UvdVdhWU3r1-bg=@protonmail.com> <fc2ad2b8-6b8f-8eb1-ad8f-c55a503eb2c4@aklaver.com> <Zg_1LULyXJHutjLddDrqHhkIzu2OvGAiA9IPU6wyqgZpDOIuc4zjsqvwLCfoumyOHYlza3JH6yJ_VQWFtHK8eByyBm4pq-wHNONy9KSq144=@protonmail.com> <2852725.1628377867@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