ejabberd - Comments for "beam (erlang vm) use of tcp-ip socket ports?" https://www.ejabberd.im/node/3079 en You can also check the newer ejabberd guide https://www.ejabberd.im/node/3079#comment-53274 <p>In addition to the link provided by Evadim, you can also check the ejabberd guide, since version 2.0.1 includes some explanations about this topic.</p> <p>I summarize them here again:</p> <div class="quote-msg"> <div class="quote-author"><em>tony.bigbee</em> wrote:</div> <p>Are these sockets necessary for ejabberd functionality?</p></div> <p>Not strictly for Jabber support. Those ports are used by the ejabberdctl command line administration script, commonly used to stop and restart ejabberd. They are also used for clustering if required.</p> <div class="quote-msg"> <div class="quote-author"><em>tony.bigbee</em> wrote:</div> <p>Is this something specific to the Erlang VM?</p></div> <p>Yes, that is implemented by Erlang/OTP, hence the options to control it must be passed to 'erl' when starting ejabberd. Check bellow.</p> <div class="quote-msg"> <div class="quote-author"><em>tony.bigbee</em> wrote:</div> <p>I cannot find a port range that includes 51842 in the config file.<br /> Is there any way to control this?</p></div> <p>When starting the Erlang VM for ejabberd (usually this is done in a script called ejabberdctl or ejabberd), you can include:</p> <pre>erl ... -kernel inet_dist_listen_min 4370 inet_dist_listen_max 4375</pre> Mon, 09 Jun 2008 11:59:08 +0000 mfoss comment 53274 at https://www.ejabberd.im http://www.ejabberd.im/listen https://www.ejabberd.im/node/3079#comment-53257 <p><a href="http://www.ejabberd.im/listen-strange-port" title="http://www.ejabberd.im/listen-strange-port">http://www.ejabberd.im/listen-strange-port</a> ?</p> Wed, 04 Jun 2008 21:22:57 +0000 evadim comment 53257 at https://www.ejabberd.im