代码之家  ›  专栏  ›  技术社区  ›  Edgaras

如何在2台不同的服务器上运行2个定位器

  •  0
  • Edgaras  · 技术社区  · 6 年前

    服务器1,运行以下代码:

    start locator --name=locator1 --bind-address=xxx.xx.xx.111 --port=10334 --properties-file=..\config\gemfire.properties
    

    服务器2,

    connect --locator=locator1[10334]
    

    那么,

    start locator --name=locator2 --bind-address=xxx.xx.xx.222 --port=10335 --properties-file=..\config\gemfire.properties
    

    列出成员时使用:

    list members
    

    1 回复  |  直到 6 年前
        1
  •  0
  •   Edgaras    6 年前

    这个问题的解决办法是 端口 ... 完全禁用防火墙允许第二个定位器成功启动。

    彼此