I need to open a fire开发者_JAVA技巧wall port so that I can connect from one Erlang node to another. Is there a standard port?
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.)
精彩评论