ETIMEDOUT Error when trying to connect Database

Hi Everyone,

I’ve been posting recently about how I’ve been struggling to publish my website. So I took the project off the computer I was working on and onto my PC. From here I’ve succeeded in publishing my website and using the files I’ve saved from GitHub. Now, I can visit the proper IP address and see my pages (which I’m stoked about).

My struggle now is that my database wasn’t connected to the website, and when I log in, I get the following error message:

On Wappler if I go to add the database under Database Manager I get this message as well:

any idea how now that I have my website published I can link my DO database to this website and finally have all the puzzle pieces together? Any help would be appreciated and thank you to those who have helped me thus far.

If the port number is correct, then a timeout is a strong indicator for a firewall blocking access to it (packets are silently discarded). Double-check your DO’s database settings to see if remote access is allowed

So I’ve successfully added the database by allowing my IP address. The website still says it can’t find the database connection though. What could I be doing wrong

Have you changed your DB credentials on Globals? Not just on Database Manager

Is globals the project settings > targets > Database ??

No, here:

Yes sorry, I do have it defined there as well.

image

Any other possible solutions to this issue?

It seems you had two distinct errors mixed in one topic… One is a timeout, the other is an apparently missing Wappler database configuration… (1st screenshot in 1st post)

For which target is this screenshot? Is it for the remote server you’re trying to deploy?
image

If yes, you need to attract attention from the Wappler team and ask them to check the error in the 1st screenshot in your 1st post:

Just a reminder here, the changes you make to anything in Globals is specific to the target that is active when you make the change. This allows you to have different connect settings for each target

In other words, select the target, then open the database connection, edit, save.

1 Like