Redis bind to more than one IP

前端 未结 7 1024
生来不讨喜
生来不讨喜 2020-12-29 01:15

In the redis.conf the normal setting is

bind 127.0.0.1

I want redis to listen to another ip too (say my local development address)

I tried

b

7条回答
  •  粉色の甜心
    2020-12-29 01:52

    You cannot set redis to listen on specific multiple interfaces. If multiple interfaces are required just remove the bind line.

    As @taro pointed out use firewall to restrict access.

提交回复
热议问题