Couchbase
  • Why NoSQL?
  • Couchbase Server
  • Download
  • Resources
  • Careers
Home | Forums | Couchbase | Couchbase Server 2.0

how to access multiple server connect with .Net??

1 reply [Last post]
  • Login or register to post comments
Mon, 07/02/2012 - 23:48
abdullah
Offline
Joined: 06/19/2012
Groups: None

ı want to use some server for my .NET codes dor example 127.0.0.1 and 192.5.54.46 Ip adress ı want use both of them can you help me please,????

Top
  • Login or register to post comments
Sat, 07/07/2012 - 19:35
mikew
Offline
Joined: 03/14/2011
Groups:

I'm not a .NET guy, but here's my guess as to how to do this. In your config you should have a section like this:

<couchbase>
    <servers bucket="private" bucketPassword="private">
        <add uri="http://10.0.0.33:8091/pools"/>
    </servers>
</couchbase>

Try adding multiple add tags, like so.

<couchbase>
    <servers bucket="private" bucketPassword="private">
        <add uri="http://10.0.0.31:8091/pools"/>
        <add uri="http://10.0.0.32:8091/pools"/>
        <add uri="http://10.0.0.33:8091/pools"/>
    </servers>
</couchbase>

If that doesn't work let me know and I will forward this question to our .NET developer.

Top
  • Login or register to post comments
  • Login or register to post comments
  • Login
  • Register

Company

  • About Us
  • Leadership
  • Customers
  • Partners
  • Contact Us

Product

  • Couchbase Server
  • Couchbase SDKs
  • Use Cases
  • Documentation
  • Forums

Open Source

  • Couchbase Project
  • Couchbase vs. CouchDB

Commercial

  • Subscriptions & Support
  • Training & Services

News

  • Blog
  • Newsletter
  • Press Releases
  • Buzz

Follow Us

    
  • Customer Login
  • Terms of Service
  • Privacy Policy
  • Trademark Policy
  • Site Map

© 2013 COUCHBASE All rights reserved.

Sign in to Couchbase Community

close
  • Create new account
  • Request new password
You are logging into the Forums, Wiki and Issue Tracker