Erlang VMがノード間のプロセス間通信に使用するポートは2種類ある。
- epmd(Erlang Port Mapper Daemon)が使用するポート 4369
- Erlang VMがノード間の通信に使うポート。epmdが 動的に割り当てる
後者は inet_dist_listen_*
パラメータで範囲を指定できる。
例:後者の通信にポート 6000 から 6099 を使う場合
$ erl -sname nodeX +A8 -kernel inet_dist_listen_min 6000 inet_dist_listen_max 6099