How do I fix the "Connection Timed Out" error when connecting to my database?

Validated on 20 Nov 2024 • Last edited on 6 Dec 2024

A Connection Timed Out error occurs when the database’s firewall doesn’t allow you to connect to the database from your local machine or resource. This is usually because your machine isn’t included in your database’s trusted sources.

The open Trusted Sources section of the settings page

If you are getting this error, check that you have added the machine or resource you are connecting from to the database’s list of trusted sources. To check your database’s trusted sources, see the following guides for PostgreSQL, MySQL, Redis, MongoDB, Kafka, and OpenSearch.

How do I fix the "Connection Refused" error when connecting to my database?

Verify the connection string, ensure correct port usage, and add your local machine to the database cluster’s trusted sources.

How do I fix the "Invalid Parameters and Values" error when connecting to my database?

Verify the format and values in the connection string for typos or formatting errors.

How do I fix the "No Such File or Directory" error when connecting to my database?

Prepend your database client command to the connection string.

We can't find any results for your search.

Try using different keywords or simplifying your search terms.