Which ports does distributed Erlang use?

Sean Hinde Sean.Hinde@REDACTED
Fri Oct 25 14:03:04 CEST 2002


> Next Problem,
> 
>   At home I'm  sat behind a netgear RT314  natting router which blocks
> virtually all incoming requests.
> 
>   Which port(s) do I have to  open so that I can get Erlang 
> distribution
> working?

Incoming requests to epmd use port 4369. Until recently the subsequent
connection to the node used a random port but there is now the possibility
to configure the ports using some kernel parameters - inet_dist_listen_min
and inet_dist_listen_max.

e.g. erl -name sean -kernel inet_dist_listen_min 4711 inet_dist_listen_max
4720 will allow you to have 10 nodes listening.

Sean



NOTICE AND DISCLAIMER:
This email (including attachments) is confidential.  If you have received
this email in error please notify the sender immediately and delete this
email from your system without copying or disseminating it or placing any
reliance upon its contents.  We cannot accept liability for any breaches of
confidence arising through use of email.  Any opinions expressed in this
email (including attachments) are those of the author and do not necessarily
reflect our opinions.  We will not accept responsibility for any commitments
made by our employees outside the scope of our business.  We do not warrant
the accuracy or completeness of such information.




More information about the erlang-questions mailing list