lnehe
V2EX  ›  Redis

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

  •  
  •   lnehe · Dec 26, 2012 · 7240 views
    This topic created in 4959 days ago, the information mentioned may be changed or developed.
    搜了一下,没有找到相关的设置,只好求助v2的大神们了。
    5 replies    1970-01-01 08:00:00 +08:00
    notedit
        1
    notedit  
       Dec 26, 2012
    iptables 或者 firewall
    lnehe
        2
    lnehe  
    OP
       Dec 26, 2012
    @notedit 感觉iptables有点复杂,redis本身不可以实现?
    wingoo
        3
    wingoo  
       Dec 26, 2012
    Accepted and scheduled for 2.8. Thanks
    https://github.com/antirez/redis/issues/274#issuecomment-10391458

    所以现阶段貌似只能用iptables
    notedit
        4
    notedit  
       Dec 26, 2012   ❤️ 1
    @lnehe 据我所知 redis本身实现不了

    iptables确实复杂 但满足你的情况却很简单
    lnehe
        5
    lnehe  
    OP
       Dec 26, 2012
    @wingoo 嗯,期待一下2.8
    @notedit 确实有必要学习
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2364 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 00:42 · PVG 08:42 · LAX 17:42 · JFK 20:42
    ♥ Do have faith in what you're doing.