开发者

erlang epmd connection problem

I have three machines: A, B and C.

I use erl -name 'node@xx.xx.xx.xx' to start a shell on each of the machines, where xx.xx.xx.xx are their IPs. The problem is I can ping (using net_adm:ping/1) from A to C and B to C, but I can't ping fr开发者_如何学Goom A to B!

=ERROR REPORT==== 18-Apr-2011::18:28:34 ===
global: 'x@ip.of.a' failed to connect to 'x@ip.of.b'

All the IPs are global IPs, and A and B are at the same place sharing the same value of the first three segments of IP Address. How come I can't ping from A to B?

BTW: A and B has CentOS installed with Erlang R14B and C has Debian installed with Erlang R13A. One might expect problems between A and C or B and C, but quite strangely the connection between A and B is the problematic one.


I think your node is firewalled. To open firewall you need to open port 4369 (for Erlang port mapper) and some other ports for communication between nodes (you can allow all connections from your other nodes or setup only a range of ports). However it's even better to use some sort of VPN if you connect your nodes across Internet.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜