Unable to Set or Get in Couchbase Server
I have written a simple console app that uses the CouchbaseClient to Store a string variable in cache and I receive no exceptions. However, I am then unable to retrieve the value using a Get operation.
After turning on logging, I see the following lines in the log:
2012-09-06 14:45:52,081 [10] ERROR Enyim.Caching.Memcached.MemcachedNode.InternalPoolImpl [(null)] <(null)> - Could not init pool.
System.TimeoutException: Could not connect to XX.XXX.XXX.XXX:11210 where XX.XXX.XXX.XXX is the internal IP address of the server.
I have created a Windows Firewall setting that allows communication both inbound and outbound for the ports that Couchbase requires.
Any ideas what I am doing incorrectly? First off, why would the application try and access the private IP, should it not use the public IP?
in the app/web config, what is the URI you use for the initialization? Does it refer to a DNS name ? If so, then what this means is that from the client box, the name resolution to the server's DNS name is resulting in the internal IP and not the external IP. You may want to do an nslookup or something similar from the client machine to see how the name is being resolved.
Another quick way to fix it would be to hard code the external IP address in the URI init under the app/ web.config
Hope that helps