Connecting to Membase Server using Membase Client
I realize there are many posts out there about the basics of connecting to a NS Server from the NS client. I have read through many of them and are still having some issues connecting to the server via the NS Client. The biggest “gotcha” that I found in our install is that we CAN telnet to port 11211, however, we CANNOT telnet to 11212 or 8080. The admin interface works just fine and we have configured a cluster of 3 servers with a bucket called “SessionManager”. What I have tried thus far is:
1) Using the base enyim client, try caching on port 11211
2) Using the base enyim client, try caching on port 11212
3) Using the NS Client, try caching on port 8080
All of these scenarios fail. The server and client do not throw exceptions. We just get a return from the client of ‘false’. We have tested our working code base against an existing Memcached installation and know the code is functional in that scenario.
We have configured Membase in the App.Config with the following configuration (I checked the base class in a watch variable while debugging to ensure it picked up our configuration).
Our codecalling NS looks like this
[CODE]using (MembaseClient ClientInstance = new MembaseClient())
bool added = Client.Store(StoreMode.Add, cachekey, data);
throw new Exception("Could not add data");
Any advice you can give would be appreciated.