Reputation: 2646
I have couchbase running up on a vm (azure), whenever i configure it to use an external ip or hostname, it won't start and i get an error in its log like 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 to be invalid. Giving OS a chance to bring it up.
if i use 127.0.0.1 , or the internal ip it starts up, but of course doesnt work because couchbase is such a peach about it's ip address'
Any thoughts?
Upvotes: 1
Views: 3103
Reputation: 21
I ran into the same eaddrnotavail error when configuring Couchbase server running in an Azure Windows VM. Tried the hosts file solution suggested in http://tugdualgrall.blogspot.ca/2012/12/what-to-do-if-your-couchbase-server.html (mentioned by Monsters X on May 15 '13) and it worked.
In short, just
It worked for me. My Couchbase server was running and can be accessed via yourserver.cloudapp.net:8091 (of course, you will also need to do: 1. add endpoint in Azure VM config, 2. allow incoming traffic on port 8091 in Windows Firewall in your VM).
Upvotes: 2