On Sunday, August 8th, 2021 at 12:11 AM, Tom Lane <tgl@xxxxxxxxxxxxx> wrote: > > If php is trying to connect to something else, like say the > > machine's external IP address, that could be your issue. Excuse the ignorance, but if the instruction in the php file is: " ...$dbconn = pg_connect("dbname=cpacweb user=cpaca host=localhost")... " why should php try to connect to anything except 'localhost', as instructed?