I have a cache server installed. When I configured the server I used the hostname.
I left all the default settings. The typical default bucket and no password.
Then I try to connect to it from another computer using the c#client.
CouchbaseClient = new CouchbaseClient(); //hangs for about 10 seconds throws no error
CouchbaseClient.Store(StoreMode.Set, “test”,“test”)); //throws no error;
var test = CouchbaseClient.Get(“test”); //always returns null;
Good to hear you found a resolution. Would you mind posting the answer once you get everything figured out?
Also, I noticed your using the Get(…) method, which returned null if the request cannot be honored; try using the ExecuteGet(…) method which returns a IOperationResult object that gives more information about why the operation failed. Much better for debugging!
It was basically a port blocking issue. For my use I needed to open the direct port.
I downloaded the .NET client source code and found references to the following ports:
Management Port: 8091
Direct Port: 11210
https Management Port: 18091
https Api Port: 18092