Unable to locate node
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
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
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.
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
Your config looks correct. Did you explicitly open port 8091? You might also need to open 11211 and 8092 for views.