Redis DB is not connecting in server - c#

34 views
Skip to first unread message

vinoth kumar

unread,
Nov 8, 2023, 9:41:42 AM11/8/23
to Redis DB
// code used to connect DB 
var redisEnabled = redisSettings.IsEnabled; 
dynamic storage = new FileStorage(); 
try 
 if (redisEnabled) 
  { 
         var redis = ConnectionMultiplexer.Connect(configurationOptions);
         if (redis.IsConnected)
        { 
            storage = new RedisStorage(redis, reportsPath); 
         } 
    } 
}

Redis DB is connected in local machines, But it is not connecting in servers(IsConnected = false), No exception, No error messages

  1. Same pfx file is used in local machine and in server
  2. Using the same CA and private key, it is connecting from redis client in server
Reply all
Reply to author
Forward
0 new messages