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

19 views
Skip to first unread message

Solomon

unread,
Jan 30, 2013, 8:46:12 PM1/30/13
to erlang-q...@erlang.org
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?

Serge Aleynikov

unread,
Jan 30, 2013, 9:01:24 PM1/30/13
to Solomon, erlang-q...@erlang.org
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
> _______________________________________________
> erlang-questions mailing list
> erlang-q...@erlang.org
> http://erlang.org/mailman/listinfo/erlang-questions
>
_______________________________________________
erlang-questions mailing list
erlang-q...@erlang.org
http://erlang.org/mailman/listinfo/erlang-questions
Reply all
Reply to author
Forward
0 new messages