title: Connect to Azure Redis Cache via HTTP
body: <p>I'm using "ServiceStack.Redis" to connect to Redis and it works correctly on my development machine. </p>
  
  <p>Basically, I open the connection via this line:</p>
  
  <pre><code>client = new RedisClient(host);
  </code></pre>
  
  <p>Where <code>host</code>, on my development machine, is "localhost". </p>
  
  <p>Now, I'd like to upload my application to Azure, so I created a cache in Azure and I'm trying to connect to it by passing the following connection string:</p>
  
  <blockquote>
    <p>XXX.redis.cache.windows.net,ssl=false,password=YYY</p>
  </blockquote>
  
  <p>The creation of the "RedisClient" seems to work but when I try to perform an operation (the first one to be executed being <code>client.RemoveByPattern("...")</code>), I get the following error:</p>
  
  <blockquote>
    <p>Exception Details: System.Net.Sockets.SocketException: No such host is
    known</p>
  </blockquote>
  
  <p>Note that I allowed the cache to be connected to via HTTP, so normally, the port 6379 is unblocked and accessible.</p>
  
  <p>All the example I found over Internet are using "ConnectionMultiplexer" but this class does not seem to be found in the NuGet package "ServiceStack.Redis".</p>
  
  <p>What am I doing wrong?</p>