【发布时间】:2018-07-03 16:37:56
【问题描述】:
我正在尝试将 ejabberd 连接到远程服务器上的节点,但无法 ping 节点。两个节点都运行 -name 'n1@host1.my' 和 -name 'n2@host2.my' 内核选项 -kernel inet_dist_listen_min 4370 inet_dist_listen_max 4370 ,端口 4370 是可访问的(通过 host1.my 上的 telnet 检查它):
telnet host2.my 4370
Trying 34.252.148.114...
Connected to dt.mantu.im.
Escape character is '^]'.
在错误中:
net_adm:names().
{error,address}
这意味着 epmd 无法运行,但是
/usr/lib/erlang/erts-9.1.5/bin/epmd -names
epmd: up and running on port 4369 with data:
name dev at port 4370
【问题讨论】: