I am working on a Node.js project with Sequelize as the ORM. When I start my project locally on my machine, I am able to connect to the Neon database.
However, on the production version of my app, I encounter an error: {"status":"error","statusCode":500,"message":"Error: connect ECONNREFUSED 3.126.212.11:5432"}
I deployed my backend on O2 Switch and also and a Ni Host VPS, I can connect to the dtabase from the app hosted on VPS but impossible from O2 Switch.
Of course My client need to use the one is on O2 Switch