Page 1 of 1

shell psql command broken

Posted: Mon Dec 26, 2022 7:33 am
by votmoa
Hello,

The `/usr/bin/psql` command on the shell server cannot connect to the database backend:

Code: Select all

psql: could not connect to server: Connection timed out
        Is the server running on host "pgsql.custsql.sonic.net" (184.23.168.158) and accepting
        TCP/IP connections on port 5432?
Wondering if any recent IP renumbering might have changed the pgsql address but the DNS didn't get updated? Any help would be appreciated.

Thanks,
--Dave

Re: shell psql command broken

Posted: Thu Dec 29, 2022 3:48 pm
by joemuller
My apologies about the mixup - looks like there was a firewall rule that needed to be updated to allow access from the new shell IP address. Confirmed working as of mid-afternoon on 12/27.

-- Joe M