【问题标题】:Salt Minion cannot reach Salt Master at port 4505. What workaround can I use?Salt Minion 无法在端口 4505 访问 Salt Master。我可以使用什么解决方法?
【发布时间】:2018-02-15 13:05:27
【问题描述】:

我有一个 Salt Master 服务器和一些运行良好的 Minions。所有的配置都是默认的。

我在一个非常严格的网络中有一个 Salt Minion。跑步

 nc -v -z salt.master.ip.addr 4505

返回

4505 (tcp) failed: Connection timed out

显然它无法连接到 Master。我不是网络主题的专家,也没有找到好的解决方法。你有什么建议?

谢谢!

【问题讨论】:

    标签: salt-stack


    【解决方案1】:

    您可以使用主配置中的publish_port 选项更改主监听的端口。

    https://docs.saltstack.com/en/latest/ref/configuration/master.html#publish-port

    您还必须更改 minion 用于连接到 master 的端口:https://docs.saltstack.com/en/latest/ref/configuration/minion.html#master-port-syntax

    您检查过 Salt Master 上的防火墙吗?

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-04-09
      相关资源
      最近更新 更多