Couchbase
  • Why NoSQL?
  • Couchbase Server
  • Download
  • Resources
  • Careers
Home | Forums | Couchbase | Couchbase Server 1.8.x

Unable to Set or Get in Couchbase Server

1 reply [Last post]
  • Login or register to post comments
Thu, 09/06/2012 - 12:06
fritzfrancis
Offline
Joined: 09/06/2012
Groups: None

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?

Top
  • Login or register to post comments
Mon, 09/17/2012 - 17:05
katana
Offline
Joined: 05/09/2012
Groups: None

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

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