Bind CB to specified IP address

HI. I try to bind couchbase to some IP address.

Let’s look at 8091 and 11211 ports as expample. All addresses are in listen mode:

[root@fs1 couchbase]# netstat -an | grep -P "(8091|11211).LISTEN"
tcp 0 0 0.0.0.0:8091 0.0.0.0:
LISTEN
tcp 0 0 0.0.0.0:11211 0.0.0.0:* LISTEN
tcp 0 0 :::11211 :::* LISTEN

Here a little about setting hostname but there is no any effect after

[root@fs1 couchbase]# resolveip fs19.localdomain IP address of fs19.localdomain is 192.168.10.71 [root@fs1 couchbase]# curl -v -X POST -u Administrator:xxxxxxxxxx http://127.0.0.1:8091/node/controller/rename -d hostname=fs19.localdomain * About to connect() to 127.0.0.1 port 8091 (#0) * Trying 127.0.0.1... connected * Connected to 127.0.0.1 (127.0.0.1) port 8091 (#0) * Server auth using Basic with user 'Administrator' > POST /node/controller/rename HTTP/1.1 > Authorization: Basic QWRtaW5pc3RyYXRvcjpqaHVmeWJwZndiejMwMA== > User-Agent: curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.16.2.3 Basic ECC zlib/1.2.3 libidn/1.18 libssh2/1.4.2 > Host: 127.0.0.1:8091 > Accept: */* > Content-Length: 25 > Content-Type: application/x-www-form-urlencoded > < HTTP/1.1 200 OK < Server: Couchbase Server < Pragma: no-cache < Date: Tue, 10 Feb 2015 15:54:30 GMT < Content-Length: 0 < Cache-Control: no-cache < * Connection #0 to host 127.0.0.1 left intact * Closing connection #0 [root@fs1 couchbase]# netstat -an | grep -P "(8091|11211).*LISTEN" tcp 0 0 0.0.0.0:8091 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:11211 0.0.0.0:* LISTEN tcp 0 0 :::11211 :::* LISTEN [root@fs1 couchbase]#

So, whether the firewall is the only solution?