How to debug connection to postgresql

Hi n8n community,
How can I debug a postgresql connection?
It is working fine in local, but I can’t connect to my production postgresql server hosted on aws
It keeps telling me: no active connection to server it may be down, whatever the params of connection I put.
Not really helpful, there is no error message in the consoles, no errors in network.
What can I do ?

Welcome to the community @Vincent_Combey!

What do you want to connect to Postgres for? To use it as the database for n8n or are you talking about the Posgres Node?