Redis bind to more than one IP

前端 未结 7 1025
生来不讨喜
生来不讨喜 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:06

    The only way this worked for me, was by adding separate lines:

    bind 111.222.33.44
    bind 127.0.0.1 ::1
    

提交回复
热议问题