Getting the following error when trying to connect to postgresql database:
Nov 19 23:22:02:814 [attach_socket, postgresql] Error connecting to postgresql database :Connection to <server>:5432 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
Version: 20.4, 23.4
Component: postgresql probe