//这句可以成功启动redis
bind 127.0.0.1
// 这句就不行
bind 127.0.0.1 120.25.1.1
而且使用 ./redis-server ../redis.conf
不管是成功失败都没有提示,没有提示是正常的吗?每次要用 ./redis-cli
连一下才知道是成功还是失败
巴扎黑2017-04-26 09:04:00
bind 127.0.0.1 192.168.2.100 192.168.1.100
After setting it up like this, both network segments 1 and 2 can be accessed.
Is there any error message if the startup fails?
You can check the startup error message in the redis log file. Where is the log file for this configuration item?