I need to open a firewall port so that I can connect from one Erlang node to another. Is there a standard port?
Erlang Port Mapper Daemon (EPMD) EPMD (Erlang Port Mapper Daemon) messages are the messages sent between Erlang nodes and the empd process. The message formats are derived from the * lib/kernel/src/erl_epmd.* files as part of the Erlang distribution available from http://www.erlang.org/
The erlang port mapper daemon is used to coordinate distributed erlang instances. His job is to keep track of which node name listens on which address. Hence, epmd map symbolic node names to machine addresses. This is used by default on RabbitMQ and CouchDB installations.
You can limit the TCP ports used by Erlang to a specified interval using the following kernel app. parameters:
erl -kernel inet_dist_listen_min 9001 inet_dist_listen_max 9005
You also need to enable the 4369
TCP port, as it is used by epmd. (This port can also be changed by the ERL_EPMD_PORT
environment variable.)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With