couchbase running in the cloud, ip address nightmare -


i have couchbase running on vm (azure), whenever configure use external ip or hostname, won't start , error in log this:

[ns_server:warn,2013-05-14t22:21:41.056,ns_1@[myserver].cloudapp.net:dist_manager<0.280.0>:dist_manager:is_good_address:81]cannot listen on address `[myserver].cloudapp.net`: eaddrnotavail [ns_server:info,2013-05-14t22:21:41.056,ns_1@[myserver].cloudapp.net:dist_manager<0.280.0>:dist_manager:wait_for_address:100]configured address `[myserver].cloudapp.net` seems invalid. giving os chance bring up. 

if use 127.0.0.1 , or internal ip starts up, of course doesnt work because couchbase such peach it's ip address'

any thoughts?

i ran same eaddrnotavail error when configuring couchbase server running in azure windows vm. tried hosts file solution suggested in http://tugdualgrall.blogspot.ca/2012/12/what-to-do-if-your-couchbase-server.html (mentioned monsters x on may 15 '13) , worked.

in short,

  1. open hosts file (usually c:\windows\system32\drivers\etc\hosts)
  2. add row "127.0.0.1 yourserver.yourdomain.com" (in azure, it's yourserver.cloudapp.net) , save
  3. in initial server configuration (http://yourserver.cloudapp.net:8091), use "yourserver.cloudapp.net" instead of 127.0.0.1

it worked me. couchbase server running , can accessed via yourserver.cloudapp.net:8091 (of course, need do: 1. add endpoint in azure vm config, 2. allow incoming traffic on port 8091 in windows firewall in vm).


Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -