| From: | Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com> |
|---|---|
| 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-08 00:02:22 |
| Message-ID: | a2724c54-be07-99cf-1ebc-2c978e0a5da7@aklaver.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
On 8/7/21 4:11 PM, ourdiaspora wrote:
> On Saturday, August 7th, 2021 at 11:20 PM, Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com> wrote:
>
>>
>
> psql -d cpacweb -h 127.0.0.1 -U cpaca
> psql: could not connect to server: Connection refused
> Is the server running on host "127.0.0.1" and accepting
> TCP/IP connections on port 5432?
What did you change listen_addresses from?
What if you do?:
psql -d cpacweb -U cpaca
>
> sudo /etc/init.d/apache2 status
> [ ok ] apache2 is running.
>
> sudo service postgresql status
> 9.6/main (port 5432): online
>
>
>
--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com
| From | Date | Subject | |
|---|---|---|---|
| Next Message | ourdiaspora | 2021-08-08 00:36:47 | Re: php connection failure |
| Previous Message | David G. Johnston | 2021-08-08 00:01:17 | Re: php connection failure |