title: AWS .NET SDK works for DynamoDB, not S3
body: <p>I am running a .NET Core Web API app, where I initialize DynamoDB and S3 with localstack endpoints:</p>
  
  <pre><code>services.AddSingleton&lt;IAmazonDynamoDB&gt;(sp =&gt;
  {
        var clientConfig = new AmazonDynamoDBConfig { ServiceURL = "http://localhost:4569" };
        return new AmazonDynamoDBClient(clientConfig);
  });
  services.AddSingleton&lt;IAmazonS3&gt;(sp =&gt;
  {
         var clientConfig = new AmazonS3Config { ServiceURL = "http://localhost:4572" };
         return new AmazonS3Client(clientConfig);
  });
  </code></pre>
  
  <p>I've started DynamoDB and S3 services at localstack. When I attempt to use the services (via IAmazonDynamoDB and IAmazonS3 clients respectfully) DynamoDB works like a charm while S3 throws <em>"nodename nor servname provided, or not known"</em> exception. Any idea what is wrong?</p>
  
  <p>I am running localstack from the latest docker image, if that could be related.</p>