The following is an example demonstration how to modify the port
dedicated to a bucket. In the case of updating bucket properties
with couchbase-cli you should provide other
existing bucket properties as options, even though you might not
be changing these other properties. This is because the command
to update bucket properties may interpret missing options as
meaning the option should be reset to a default/nothing. We
recommend you review the current bucket properties and provide
your new option and existing options that you want to maintain:
shell> couchbase-cli bucket-edit -c 192.168.0.1:8091 --bucket=test_bucket \ --bucket-port=11222 --bucket-ramsize=400