开发者

Which TCP port does Erlang use for connecting to a remote node?

开发者 https://www.devze.com 2022-12-22 05:03 出处:网络
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 t

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.)

0

精彩评论

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

关注公众号