Can't reach database server at ...rds.amazonaws.com:5432

I have a nestjs backend application deployed on render and I wish to connect it to a awsrdb postresql instance. In development everything works fine since I managed to push write and read data from the db. However, when sending a PR for the deployment render throws the the following log issue:

Error: P1001: Can’t reach database server at macrobimrdbfreetier.XXXXXXX.us-east-1.rds.amazonaws.com:5432

Any clue on how to fix it?

I found the solution in this thread:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.