Couchbase
  • Why NoSQL?
  • Couchbase Server
  • Download
  • Resources
  • Careers
Home | Forums | Couchbase | Couchbase Server 2.0

Unable to locate node

4 replies [Last post]
  • Login or register to post comments
Sat, 02/09/2013 - 12:17
nsivkov
Offline
Joined: 02/09/2013
Groups: None

I have a CouchaBase 2 installed on a ubuntu VM on my dev pc , the network address is 192.168.1.38 , i can login to the Administrator panel and do stuff.
In my project i have installed the .net SDK libraries , configured the web.config as per the tutorial

 
<couchbase>
    <servers bucket="backend">
      <add uri="http://192.168.1.38:8091/pools/" />
    </servers>
  </couchbase>

but when i run my app , it says it can't reach the node.
I double checked everything , pinged the VM , it responded, then pinged my pc from the VM it responded.
but for some reason the CB node is unreachable.

The only thing i did was to add

-name ns_1@192.168.1.38 \ to the config file

Any ideas as to what might be causing this error and how to fix it ?

Thanks

Top
  • Login or register to post comments
Tue, 02/12/2013 - 13:27
john
Offline
Joined: 01/05/2012
Groups: None

Your config looks correct. Did you explicitly open port 8091? You might also need to open 11211 and 8092 for views.

Top
  • Login or register to post comments
Fri, 02/15/2013 - 11:36
Michael Rickey
Offline
Joined: 02/15/2013
Groups: None

I'm having this problem as well. I have completely disabled windows firewall. I've tried using my PC's IP address, "localhost", and "127.0.0.1". No luck.

I can connect to the management console without any issues.

I'm using the .NET 2.0 SDK, I've tried using the config file and also creating a config object and configuring it at runtime.

You made a reference to "-name ns_1@192.168.1.38 \ to the config file". Where did you do this and what is it supposed to do?

Have you been able to get past this problem? What fixed it?

Incidentally, I running both the app and CB on a single Windows 7 machine. (no VMs).

Michael

__________________

--
Michael Rickey

Top
  • Login or register to post comments
Fri, 02/15/2013 - 12:51
nsivkov
Offline
Joined: 02/09/2013
Groups: None

the reference to "-name ns_1@192.168.1.38 \" is somewhere in the Linux config files and it's supposed to manually assign CB to a specific IP/domain.

Also I didn't manage to resolve the issue , however , what I did was to wipe clean the VM and install CouchBase again on it.

Top
  • Login or register to post comments
Mon, 02/18/2013 - 05:39
Neo-matrix
Offline
Joined: 10/15/2012
Groups: None

Hi,

The config file is in /opt/couchbase/bin/couchbase-server, line number 73. please go through this link, hope this might solve your issues "http://www.couchbase.com/docs/couchbase-manual-1.8/couchbase-bestpractice-cloud-ip.html".

Note: You have to make entry of your hostname(Just IP / hostname) in the file /opt/couchbase/var/lib/couchbase/ip

Thanks,
Neo

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