I'm trying to use Azure Redis cache in my MVC 4.6 app but getting connection errors. This is the error:
No connection is available to service this operation: GET c7fc43f3-47c4-43cb-94ff-50527b1cda0c_TokenCache; It was not possible to connect to the redis server(s); to create a disconnected multiplexer, disable AbortOnConnectFail. ConnectTimeout; IOCP: (Busy=3,Free=997,Min=2,Max=1000), WORKER: (Busy=2,Free=4093,Min=2,Max=4095), Local-CPU: 100%
My web.config has:
<add key="ida:CacheConnection" value="myCache.redis.cache.windows.net:6380,password=bpPQX6jeocNjyX1FqrvVztGMQqjekXbUXFjGkiZOyCE=,ssl=True,abortConnect=False,connectTimeout=30,syncTimeout=3000,ConnectRetry=3" />
My packages.config has:
<package id="StackExchange.Redis" version="1.2.0" targetFramework="net45" />
I followed this MSDN article to configure Aazure Redis server and client.
I tried to use client side cmd line tool to verify the connection even that is not working. Not giving me any sign of success or failure. This is my command:
C:\Program Files\Redis>redis-cli -h "myCache.redis.cache.windows.net" -a bpPQX= -p 6379
I tried -p 6380 as well but nothing changed.
