# Accept connections on the specified port, default is 6379.
# If port 0 is specified Redis will not listen on a TCP socket.
port 6380
3.为redis6380的绑定主服务
# Master-Slave replication. Use slaveof to make a Redis instance a copy of
# another Redis server. A few things to understand ASAP about Redis replication.
#
#
1) Redis replication is asynchronous, but you can configure a master to
# stop accepting writes
if it appears to be not connected with at least
# a given number of slaves.
#
2) Redis slaves are able to perform a partial resynchronization with the
# master
if the replication link is lost for a>
# time. You may want to configure the replication backlog>
# sections of
this file) with a sensible value depending on your needs.
#
3) Replication is automatic and does not need user intervention. After a
# network partition slaves automatically
try to reconnect to masters
# and resynchronize with them.