Re: php connection failure - Mailing list pgsql-general

From Tom Lane
Subject Re: php connection failure
Date
Msg-id 2853518.1628378797@sss.pgh.pa.us
Whole thread Raw
In response to Re: php connection failure  (ourdiaspora <ourdiaspora@protonmail.com>)
Responses Re: php connection failure  ("David G. Johnston" <david.g.johnston@gmail.com>)
Re: php connection failure  (ourdiaspora <ourdiaspora@protonmail.com>)
List pgsql-general
ourdiaspora <ourdiaspora@protonmail.com> writes:
> 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?

Hm --- this suggests that you've got a kernel packet filter (i.e.
software firewall) that is not passing traffic for 5432.

It's not very clear how it worked before if that were in place
previously, but since you've said zero about what the working
configuration looked like, that's the best I've got.

            regards, tom lane



pgsql-general by date:

Previous
From: ourdiaspora
Date:
Subject: Re: php connection failure
Next
From: "David G. Johnston"
Date:
Subject: Re: php connection failure