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