Using remote server in .net


#1

I am working on a remote couchbase server in .net/C#. It doesn’t work. However the url works in my browser. Here is my web.config:

<bucket-admin>
  <servers bucket="Admin" bucketPassword="">
      <add uri="http://208.74.176.230:8091/pools" />
  </servers>
</bucket-admin>

<bucket-system>
  <servers bucket="System" bucketPassword="">
      <add uri="http://208.74.176.230:8091/pools" />
  </servers>
</bucket-system>

This config file works for my local couchbase server.


#2

Hello,

When you say that it is not working, can you describe the behavior? any log? error?

Maybe it is a network issue, be sure your have opened the ports between your application and cluster, see:
http://www.couchbase.com/docs/couchbase-manual-2.0/couchbase-network-ports.html

regards
Tug
@tgrall


#3

It crashes in C# code poolFactory. I have opened port 8091. Do I need to open 8092 as well? The url works in my browser.


#4

Thank you very much to respond my question.

June