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!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
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