Cannot connet to redis via C# .NET Core

Hello,
I create redis by uptash, and get private url.
I have private url: redis://default:@fly-*.upstash.io

In my code I have
services.AddStackExchangeRedisCache(r => { r.Configuration = configuration["redis:connectionString"]; })

After start and try execute some api call i get error:
It was not possible to connect to the redis server(s). UnableToConnect on redis://default:@fly-***.upstash.io:6379/Interactive, Initializing/NotStarted, last: NONE, origin: BeginConnectAsync, outstanding: 0, last-read: 0s ago, last-write: 0s ago, keep-alive: 60s, state: Connecting, mgr: 10 of 10 available, last-heartbeat: never, global: 5s ago, v: 2.2.4.27433**

Do you have any idea what i get that error?

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.