title: azure blob storage-Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host
body: <p>I'm using <strong>Microsoft.WindowsAzure.StorageClient</strong> to get list of images from azure blob storage, but getting exception <code>"Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host"</code>. how can I resolve this exception .</p>
  
  <p>My Code :</p>
  
  <pre><code>       var azureBlobStorageConnectionString = ConfigurationManager.AppSettings["AzureBlobStorageConnectionString"];
  
          var azureBlobContainerName = ConfigurationManager.AppSettings["AzureBlobContainerName"];
  
         // Retrieve storage account from connection string.
         CloudStorageAccount storageAccount = CloudStorageAccount.Parse(azureBlobStorageConnectionString);
  
          // Create the blob client. 
          CloudBlobClient blobClient = storageAccount.CreateCloudBlobClient();
  
          // Retrieve reference to a previously created container.
  
           CloudBlobContainer container = blobClient.GetContainerReference(azureBlobContainerName);
  
          // Loop over items within the container and output the length and URI.
          var containerList = container.ListBlobs().ToList();
  
          ImagesUrls = new List&lt;string&gt;();
  
          foreach (var item in containerList)
          {
              var blob = (CloudBlockBlob)item;
              ImagesUrls.Add(blob.Uri.AbsolutePath);
          }
  </code></pre>