您好,bind的IP地址是需要您的网卡里包含的IP这是官方的配置文件的说明
- # By default, if no "bind" configuration directive is specified, Redis listens
- # for connections from all the network interfaces available on the server.
- # It is possible to listen to just one or multiple selected interfaces using
- # the "bind" configuration directive, followed by one or more IP addresses.
复制代码
如果您本地没有上述的IP,可以在系统防火墙进行控制,注意,一定不要不加限制就直接公网暴露您的redis 端口,一定要做好密码验证,密码规则要符合安全规则,大小写数字英文字母+特殊符号,大于8位数。
|