N
Neon15mo ago
frail-apricot

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!
No description
No description
No description
1 Reply
pleasant-yellow
pleasant-yellow15mo 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?

Did you find this page helpful?