Node js server connects to PostgreSQL database for split second

Hello,
I have a PostgreSQL database hosted on render.com but when i try to connect to it with my node.js server, it connects for an extremely short amount of time, then disconnects. It keeps doing this if i leave my server on.

here is an example

can anyone helpme resolve this issue. thanks

Hi,

The connections in your screenshot all appear to be from the postgres user, which would be our service account making its regular checks.

That wouldn’t be the user you configure to connect your service to a Render database.

Alan

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