title: Couchbase .Net driver issues "Unable to locate node"
body: <p>I've installed Couchbase server on Amazon EC2 and trying to build a client with VisualStudio C#.</p>
  
  <p>Couchbase is accessible from my computer via web interface. I can add and modify data. 
  But from C# it doesn't work: getting "Unable to locate node" error.
  At the same time Fiddler shows that some "handshaking" is taking place: my test program is getting some metadata while establishing a connection with Couchbase. But any attempt to read or write data fails.</p>
  
  <p>Following ports are open: 11211,8091,8092,22,11210,21100 - 21299,11209,4369
  (but turning firewall off doesn't seem to help)</p>
  
  <p>Below is my testing program. Any help is very much appreciated.</p>
  
  <p>App.config:</p>
  
  <pre><code>&lt;configuration&gt;
    &lt;configSections&gt;
      &lt;section name="couchbase" type="Couchbase.Configuration.CouchbaseClientSection, Couchbase"/&gt;
    &lt;/configSections&gt; 
    &lt;startup&gt;
      &lt;supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" /&gt;
    &lt;/startup&gt;
    &lt;runtime&gt;
      &lt;assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"&gt;
        &lt;dependentAssembly&gt;
          &lt;assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" /&gt;
          &lt;bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" /&gt;
        &lt;/dependentAssembly&gt;
      &lt;/assemblyBinding&gt;
    &lt;/runtime&gt;
    &lt;couchbase&gt;
    &lt;servers bucket="mybucket" username="Administrator" password="xxxxxxxxx"&gt;
      &lt;add uri="http://XXX.XXX.XXX.XXX:8091/pools"/&gt;
    &lt;/servers&gt;
    &lt;/couchbase&gt;
  &lt;/configuration&gt;
  </code></pre>
  
  <p>code:</p>
  
  <pre><code>public static void Run()
  {
      System.Configuration.Configuration cfg = ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None);
      ICouchbaseClientConfiguration section = cfg.GetSection("couchbase") as ICouchbaseClientConfiguration;
      using (CouchbaseClient client = new CouchbaseClient(section))
      {
          MyData mydata= new MyData();
          mydata.MyName= "bla-bla";
          IStoreOperationResult res = client.ExecuteStore(StoreMode.Set, "1", mydata);
          System.Diagnostics.Debug.WriteLine("*************************************************************");
          if (!res.Success)
              System.Diagnostics.Debug.WriteLine(res.Message); // writes "Unable to locate node"
      }
  }
  </code></pre>