[erlang-questions] Which communication ports does erlang use?

Serge Aleynikov <>
Thu Jan 31 03:01:24 CET 2013


When running nodes separated by a firewall you'll need to open the port
4369 for access to epmd [1], and specify the range of ports that a node
behind a firewall can use for binding its distributed transport by using
the following kernel options:

    {kernel, [
        {inet_dist_listen_min, StartPort},
        {inet_dist_listen_max, EndPort}
    ]}

The [StartPort ... EndPort] range would be provisioned in your firewall.

Mnesia uses Erlang distributed transport and doesn't open any other
ports for replication.

Serge

[1] http://www.erlang.org/doc/man/epmd.html

On 1/30/2013 8:46 PM, Solomon wrote:
> I set up two erlang nodes at two servers, and they have distributed
> mnesia tables.
> 
> I must start the firewall at servers, so I want to know which
> communication ports does erlang use?
> 
> 
> _______________________________________________
> erlang-questions mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-questions
> 



More information about the erlang-questions mailing list