redis登錄端口號和host修改

redis的端口號和登錄的host,使用默認的可能會導致不安全,一般建議修改成自己設置的端口號和host ip; 而修改這個呢需要修改三個文件: 分別是 /etc/redis.conf /etc/redis-sentinel.conf /usr/libexec/redis-shutdown 首先在redis.conf找到port和bind port和bind改成自己定義的端口號和自己定義的名字 這
相關文章
相關標籤/搜索