Getting this error Error: connect ETIMEDOUT 10.108.0.2:25060
I have deployed the nodejs app and connecting it to postgresql cloud database and getting this error.
Here is my setup using connection string: postgresql://XXXXXX:XXXXXXX@db-postgresql-nyc3-23855-do-user-9690131-0.b.db.ondigitalocean.com:25060/XXXXXX?sslmode=require
XXXXX are the credentials and I have checked these are correct. not sure what’s going on and further I am using pg.js package for postgresql
Thanks
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Accepted Answer
Hello,
I could suggest a few things here:
https://docs.digitalocean.com/products/databases/mysql/how-to/secure/
25060
is open for outgoing TCP connections.Let me know how it goes! Regards, Bobby
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.