Redis bind to more than one IP

前端 未结 7 985
生来不讨喜
生来不讨喜 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 02:12

    Edit: it seems that the correct way is, still, only one line and one or more IPs separated by space

    This way:

    bind 127.0.0.1 10.150.220.121
    
    0 讨论(0)
提交回复
热议问题