Lock couchbase to a particular IP
When installing couchbase, it appears to start all its daemon processes on all IP addresses / ethernet ports.
Is there a way to restrict couchbase and all related forked processes to only startup on a particular IP address?
I want to install on a VPS with 2 ethernet cards (one is public and one is private). I only want couchbase to expose itself on the private side of the network.
I know I can manipulate the firewall with Iptables, and will if it comes to that. I was hoping for something a bit easier however.
On a related note, when working at home with a computer that has neither a DNS entry or a static IP, I noticed that couchbase can't connect properly if the DHCP license expires and I get a new IP. Since this is a windows machine, I change the IPADDR.OUT file in couchbase/server/bin and then run "service_reregister.bat". But, when I do that I lose all the data in the bucket (it goes back to an uninitialized state). Is this the proper way to do this?