Regions and Connecting
To connect, point your existing application or client to one of several hostnames below and ensure your client is setup to authenticate using your API key as the password
$ redis-cli -h xyz.connect.thiicket.com
xyz.connect.thiicket.com:6379> AUTH 6ac806cc-adce-465a-b5f7-25d6748c2368
OK
xyz.connect.thiicket.com:6379>
Region | Hostname |
Automatic | connect.thiicket.com |
Ashburn, Virginia (US East) | iad.region.thiicket.com |
Service | Port |
Standard | 6379 |
TLS (Recommended) | 6380 |
Currently TLS is not supported on automatic routing (connect.thiicket.com), to make use of TLS please connect directly to your target region
const redis = require("redis");
const client = redis.createClient("rediss://iad.region.thiicket.com:6380", {
auth_pass: "INSERT YOUR API KEY HERE"
});
client.set("A", "B", (err, res) => {
if (err != null) console.log(err)
console.log(res);
client.get("A", (err, res) => {
if (err != null) console.log(err)
console.log(res);
process.exit(0);
})
});
$ node index.js
OK
B
Last modified 2yr ago