Re: php connection failure

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: ourdiaspora <ourdiaspora(at)protonmail(dot)com>
Cc: "pgsql-general(at)lists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: php connection failure
Date: 2021-08-07 23:11:07
Message-ID: 2852725.1628377867@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

ourdiaspora <ourdiaspora(at)protonmail(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message ourdiaspora 2021-08-07 23:11:17 Re: php connection failure
Previous Message Adrian Klaver 2021-08-07 22:20:31 Re: php connection failure