search

Home  >  Q&A  >  body text

redis主从同步时配置bind出错

为了安全起见,Master一直是启动bind的,绑定的是127.0.0.1(本机),
现在做主从同步(用本地做测试),希望本地可以访问服务器,但是直接把本地的IP加入bind是不可行的(原因:/q/1010000002921259),如何处理?

PHP中文网PHP中文网2796 days ago617

reply all(1)I'll reply

  • PHP中文网

    PHP中文网2017-04-24 09:16:00

    Use a firewall. Just add restrictions on port access. Find the specific configuration online.
    Redis should not provide this kind of access filtering configuration

    reply
    0
  • Cancelreply