redis設置密碼和其它服務器鏈接

在cenos中 vim /etc/redis.conf 中redis

/輸入 requirepass enter件一下 小寫 n 一下vim

吧 # requirepass #去掉,後面寫你的密碼ui

 

 

#其它機器鏈接3d

 vim /etc/redis.conf 中 blog

/bindip

ip是當前電腦的iprequire

而後重啓密碼

相關文章
相關標籤/搜索