Erlang EPMD Custom Port numbers

Source: Internet
Author: User

EPMD is the daemon of the port mapping between Erlang cluster nodes, which is responsible for maintaining the node connection in the cluster , providing the node name to IP address and Port resolution service.
EPMD Custom Port numbersEPMD Port ConfigurationBy default, EPMD is bound to Port 4369. However, if the port is fixed, it is vulnerable to attack, which may cause the authentication of the new node to fail to start or to join the cluster.
Epmd-daemon-port 5000
If you want to start EPMD with debug mode, use epmd-d-port
In addition, the EPMD is usually associated with the automatic start-up of the Erlang node and does not require manual processing, so it is also possible to adjust the Erl startup parameters to automatically tune the EPMD port.
Erl-name [email protected] -EPMD "Epmd-port 5000-daemon"

node Start configurationwhen the EPMD port is changed, theErlang node needs to explicitly specify the EPMD port information. under Windwos, Erlang starts as follows:
C:\>set erl_epmd_port=5000
C:\>erl-name [email protected]
Note that the above command port number (here is the) can not leave a space before and after. under Linux, theErlang boot method is as follows:
erl_epmd_port=5000 erl-name [email protected]

EPMD Related Issuesrestrict the nodes of the specified IP to join the cluster
Epmd-port 5000-address 127.0.0.1-daemon
this way, if the node name is not [email protected], it will not start or join the cluster.

How to kill the EPMD processThe EPMD is independent of the Erlang node and continues to exist after all nodes are closed, and sometimes the EPMD process may need to be killed.
Epmd-kill

Reference: http://blog.csdn.net/mycwq/article/details/46630743

Erlang EPMD Custom Port numbers

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.