Error ECONNREFUSED
Hi, Guys.
First time using NodeJS and Neon. I'm having some troubles to connect with Neon.
I copy the .env file and created the app.js. I'll post some photos of my app.js file and my database-postgres.js file and the error.
Hope someone could help me with that. Thanks!



1 Reply
pleasant-yellow•15mo ago
Hey! So it seems that the connection string that's being imported is not the correct one (or at least the host). The address points to localhost, not a Neon endpoint
Can you double check that the env variables are correct and are being properly imported?