External postgresql via neon

Hey there !
I trying to connect by discord bot to an external database hosted on neon.
I already had set the string connection, but that on finishing by “?sslmode=require”

By started my app from my computer, everything is just fine, but once the variable with the connection string on render, render says “AggregateError [ECONNREFUSED]”

The only thing that changed is that’s from render.

Can someone help me to handle this. I’m not a great dev, not at all, but I’ trying to undernstand. ^^

Have a sweet day.