How to prevent moxi listening at an unauthorized port?

Hi thuan,
It’s mainly about Couchbase server 4.x and lower versions.

[root@~]# rpm -qa | grep couchbase
couchbase-server-community-4.1.0-5005.x86_64
[root@~]# lsb_release -a
LSB Version:    :base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
Distributor ID: CentOS
Description:    CentOS release 6.7 (Final)
Release:        6.7
Codename:       Final

We have a diversity of Couchbase server versions running, ranging from Couchabse server 2.x , 3.x , 4.x to 5.x,
but 4.x is still the majority.
I’ve got the knowledge that moxi is deprecated in 5.x from No service on port 11211 with Couchbase Server 5.x.
Thanks.