How to change bootstrapCarrierDirectPort

#1

Port 11210 is used both for moxi and carrier publication as shown in http://developer.couchbase.com/documentation/server/current/install/install-ports.html
I changed the port in /opt/couchbase/etc/couchbase/static_config by adding {moxi_port, 12001}.
But it appears the moxi port changed but carrier publication port remained the same.

In ps output I see
/opt/couchbase/bin/moxi -Z port_listen=12001
Output of command
/opt/couchbase/bin $ ./couchbase-cli server-info -c localhost -u Administrator -p talena123
before change
"ports": {
“direct”: 11210,
“httpsCAPI”: 18092,
“httpsMgmt”: 18091,
“proxy”: 11211,
“sslProxy”: 11214
},
After port change

“ports”: {
“direct”: 11210,
“httpsCAPI”: 18092,
“httpsMgmt”: 18091,
“proxy”: 12001,
“sslProxy”: 11214
},
I was expecting “direct” port to change, since it had default value of 11210, but that did not happen ,the “direct” port did not change.
Port with a default value of 11211 changes, not “moxi_port” as shown in above link

#2

You need to change / add: {memcached_port, XXXX} with whatever port you want. Note moxi uses a different port - 11211.