[erlang-questions] Ports used by Erlang OTP
Peter Sabaini
peter@REDACTED
Wed Jul 29 22:02:39 CEST 2009
On Wed, 2009-07-29 at 10:55 -0400, Jacek Furmankiewicz wrote:
> Are there default values that we cal rely on to be consistent, or should we
> always specify it explicitly.
AFAIK distributed Erlang VMs use random highports by default
> Are there any port ranges that are recommended (i.e. I know below 1024
> usually requires root access, etc.)
No recommendation I know of. The extent of the range also depends on how
many distributed nodes you plan on connecting (every node will then hold
a connection to every other node which could require quite a bit of
ports; N*(N-1)/2 ports to be precise).
>
> Thanks
>
> On Wed, Jul 29, 2009 at 9:57 AM, Peter Sabaini <peter@REDACTED> wrote:
>
> > On Wed, 2009-07-29 at 09:42 -0400, Jacek Furmankiewicz wrote:
> > > Is there some documentation as to which ports are used internally by
> > Erlang
> > > OTP?
> >
> > For OTP, this is configurable, see
> >
> > {inet_dist_listen_min, First}
> > {inet_dist_listen_max, Last}
> >
> > in the kernel reference docs
> > ( http://erlang.org/doc/man/kernel_app.html )
> >
> > EPMD listens on port 4369 by default
> >
> > > I need to document it for our operations team before they move the app
> > into
> > > production. Our data centers are very hardened and all ports are closed
> > by
> > > defaults.
> > > Only those specifically requested are opened.
> > >
> > > I guess I would need to know the ports used by EPMD and OTP for all the
> > > rpc:_ calls...or any other ports that are required for an OTP app to
> > > function.
> > >
> > > Thanks,
> > > Jacek
> >
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20090729/d8afab98/attachment.bin>
More information about the erlang-questions
mailing list