在cenos中 vim /etc/redis.conf 中

/输入 requirepass enter件一下 小写 n 一下

redis设置密码和其它服务器连接

吧 # requirepass #去掉,后面写你的密码

redis设置密码和其它服务器连接

redis设置密码和其它服务器连接

redis设置密码和其它服务器连接

 

 redis设置密码和其它服务器连接

#其它机器连接

redis设置密码和其它服务器连接

 vim /etc/redis.conf 中 

/bind

redis设置密码和其它服务器连接

redis设置密码和其它服务器连接

ip是当前电脑的ip

然后重启

redis设置密码和其它服务器连接

 

相关文章:

  • 2021-11-21
  • 2022-01-12
  • 2022-12-23
  • 2022-12-23
  • 2022-02-05
  • 2021-11-10
  • 2021-09-07
  • 2022-12-23
猜你喜欢
  • 2022-02-16
  • 2022-12-23
  • 2022-12-23
  • 2021-09-25
  • 2021-06-04
  • 2022-12-23
  • 2021-11-14
相关资源
相似解决方案