Can't connect to PostgreSQL

Hi I have found this issue when run my test that contain Run Test SQL Connection (PostgreSQL) action:
‘Your security policy has prevented the connection from being attempted. You probably need to grant the connect to the database server host and port that you wish to connect to.’
Could someone help me ?

I’m facing the same issue.
Any help would be much appreciated.