{
  "id": "connect",
  "title": "Connect to a database",
  "url": "https://redis.io/docs/latest/operate/rs/7.8/databases/connect/",
  "summary": "Learn how to connect your application to a Redis database hosted by Redis Enterprise Software and test your connection.",
  "content": "\nAfter you [set up a cluster]() and [create a Redis database](), you can connect to your database.\n\nTo connect to your database, you need the database endpoint, which includes the cluster name (FQDN) and the database port. To view and copy public and private endpoints for a database in the cluster, see the database’s **Configuration \u003e General** section in the Cluster Manager UI.\n\n\n\nIf you try to connect with the FQDN, and the database does not respond, try connecting with the IP address. If this succeeds, DNS is not properly configured. To set up DNS, see [Configure cluster DNS]().\n\nIf you want to secure your connection, set up [TLS]().\n\n## Connect to a database\n\nUse one of the following connection methods to connect to your database:\n\n- [`redis-cli`]() utility\n\n- [Redis Insight](https://redis.com/redis-enterprise/redis-insight/)\n\n- [Redis client]() for your preferred programming language\n\nFor examples, see [Test client connection]().\n\n## Continue learning with Redis University\n\nSee the [Connect to a database on Redis Software](https://university.redis.io/course/zyxx6fdkcm5ahd) for the course.\n",
  "tags": ["docs","operate","rs"],
  "last_updated": "2026-04-01T08:10:08-05:00",
  "children": [{"id":"supported-clients-browsers","summary":"Info about Redis client libraries and supported clients when using the discovery service.","title":"Supported connection clients","url":"https://redis.io/docs/latest/operate/rs/7.8/databases/connect/supported-clients-browsers/"},{"id":"test-client-connectivity","summary":"","title":"Test client connection","url":"https://redis.io/docs/latest/operate/rs/7.8/databases/connect/test-client-connectivity/"},{"id":"troubleshooting-guide","summary":"Troubleshoot issues with Redis Enterprise Software, including connectivity issues between the database and clients or applications.","title":"Troubleshooting pocket guide for Redis Enterprise Software","url":"https://redis.io/docs/latest/operate/rs/7.8/databases/connect/troubleshooting-guide/"}]
}

