Re: php connection failure - Mailing list pgsql-general

From Tom Lane
Subject Re: php connection failure
Date
Msg-id 3780899.1628601273@sss.pgh.pa.us
Whole thread Raw
In response to Re: php connection failure  (ourdiaspora <ourdiaspora@protonmail.com>)
Responses Re: php connection failure  (ourdiaspora <ourdiaspora@protonmail.com>)
List pgsql-general
ourdiaspora <ourdiaspora@protonmail.com> writes:
> A quick ddg search revealed:

> sudo ss -tulpn
> Netid  State      Recv-Q Send-Q Local Address:Port               Peer Address:Port
> tcp    LISTEN     0      128     ::1:5432                 :::*                   users:(("postgres",pid=21794,fd=3))

> Is the correct conclusion from this output, that the port 5432 is open?

No.  The postgres process is listening, but this has nothing to do with
whether the kernel will allow any packets to arrive there.

On recent Red Hat systems, "man nft" might help you.
Not sure about other Linux variants.

            regards, tom lane



pgsql-general by date:

Previous
From: Matthias Apitz
Date:
Subject: Re: (13.1) pg_basebackups ./. pg_verifybackup
Next
From: Adrian Klaver
Date:
Subject: Re: php connection failure