redis.conf 如何配置多个局域网服务器可以访问?
習慣沉默
習慣沉默 2017-04-26 09:02:00
0
1
953
//这句可以成功启动redis bind 127.0.0.1 // 这句就不行 bind 127.0.0.1 120.25.1.1

而且使用./redis-server ../redis.conf不管是成功失败都没有提示,没有提示是正常的吗?每次要用./redis-cli连一下才知道是成功还是失败

習慣沉默
習慣沉默

reply all (1)
巴扎黑

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?

    Latest Downloads
    More>
    Web Effects
    Website Source Code
    Website Materials
    Front End Template
    About us Disclaimer Sitemap
    php.cn:Public welfare online PHP training,Help PHP learners grow quickly!