title: It was not possible to connect to the redis server(s); to create a disconnected multiplexer, disable AbortOnConnectFail. SocketFailure on PING
body: <p>I am trying to make a simple example of reading and writing from azure redis cache and I get this error</p>
  
  <blockquote>
    <p>An exception of type 'StackExchange.Redis.RedisConnectionException' occurred in StackExchange.Redis.dll but was not handled in user code</p>
    
    <p>Additional information: It was not possible to connect to the redis server(s); to create a disconnected multiplexer, disable AbortOnConnectFail. SocketFailure on PING</p>
  </blockquote>
  
  <p>The code I am using is this, I changed dns and password</p>
  
  <pre><code>// Get Connection instance
  ConnectionMultiplexer connection = ConnectionMultiplexer
      .Connect("xx.redis.cache.windows.net,ssl=false,password=...");
  // Get database
  IDatabase databaseCache = connection.GetDatabase();
  // Add items
  databaseCache.StringSet("foo1", "1");
  databaseCache.StringSet("foo2", "2");
  // Add items with experation value
  databaseCache.StringSet("foo3", "3", TimeSpan.FromMinutes(20));
  
  Stopwatch sw = new Stopwatch();
  
  sw.Start();
  
  // Get item value
  string foo1Value = databaseCache.StringGet("foo1");
  
  sw.Stop();
  
  Console.WriteLine("Elapsed={0}", sw.Elapsed);
  return View();
  </code></pre>