V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
lnehe
V2EX  ›  Redis

redis可以设置指定的多个IP连接进来吗?

  •  
  •   lnehe · 2012-12-26 10:07:41 +08:00 · 6528 次点击
    这是一个创建于 4110 天前的主题,其中的信息可能已经有所发展或是发生改变。
    搜了一下,没有找到相关的设置,只好求助v2的大神们了。
    5 条回复    1970-01-01 08:00:00 +08:00
    notedit
        1
    notedit  
       2012-12-26 21:08:33 +08:00
    iptables 或者 firewall
    lnehe
        2
    lnehe  
    OP
       2012-12-26 21:21:41 +08:00
    @notedit 感觉iptables有点复杂,redis本身不可以实现?
    wingoo
        3
    wingoo  
       2012-12-26 21:40:45 +08:00
    Accepted and scheduled for 2.8. Thanks
    https://github.com/antirez/redis/issues/274#issuecomment-10391458

    所以现阶段貌似只能用iptables
    notedit
        4
    notedit  
       2012-12-26 22:02:17 +08:00   ❤️ 1
    @lnehe 据我所知 redis本身实现不了

    iptables确实复杂 但满足你的情况却很简单
    lnehe
        5
    lnehe  
    OP
       2012-12-26 23:14:17 +08:00
    @wingoo 嗯,期待一下2.8
    @notedit 确实有必要学习
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5291 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 42ms · UTC 01:27 · PVG 09:27 · LAX 18:27 · JFK 21:27
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.