ejabberd - Comments for "My ejabberd server don&amp;#039;t work anymore - 3 errors (captcha_cmd is not configured, Failed to open socket)" https://www.ejabberd.im/node/3961 en Thanks qu1cksand ! https://www.ejabberd.im/node/3961#comment-55581 <p>Yes the syntax was wrong ...</p> <p>Thanks a lot</p> Thu, 15 Apr 2010 00:14:21 +0000 yhugo comment 55581 at https://www.ejabberd.im Your config syntax is incorrect https://www.ejabberd.im/node/3961#comment-55576 <p>The syntax you have used for specifying which ports to listen on is incorrect.</p> <p>You should wrap the port number and IP in curly brackets and also wrap the IP with double quotes as shown below:</p> <pre> {listen, [ {{5222, "205.205.221.187"}, ejabberd_c2s, [ {access, c2s}, {shaper, c2s_shaper}, {max_stanza_size, 65536} ]}, {{5269, "205.205.221.187"}, ejabberd_s2s_in, [ {shaper, s2s_shaper}, {max_stanza_size, 131072} ]}, {{5280, "205.205.221.187"}, ejabberd_http, [ captcha, http_bind, http_poll, web_admin ]} ]}. </pre> Tue, 13 Apr 2010 14:40:01 +0000 qu1cksand comment 55576 at https://www.ejabberd.im Server tries to join all addresses virtual server (0.0.0.0) https://www.ejabberd.im/node/3961#comment-55560 <p>Hi Zinid,</p> <p>thanks to answered me.</p> <p>It seems that the server tries to join all addresses virtual server (0.0.0.0). So I configured the server to use only my IP address.</p> <p>But it does not work :</p> <div class="codeblock"><code>%%%.&nbsp;&nbsp; ===============<br />%%%&#039;&nbsp;&nbsp; LISTENING PORTS <p>%%<br />%% listen: Which ports will ejabberd listen, which service handles it<br />%% and what options to start it with.<br />%%<br />{listen,<br /> [</p> <p>&nbsp; {5222, 205.205.221.187, ejabberd_c2s, [</p> <p> %%<br /> %% If TLS is compiled and you installed a SSL<br /> %% certificate, put the correct path to the<br /> %% file and uncomment this line:<br /> %%<br /> %%{certfile, &quot;/path/to/ssl.pem&quot;}, starttls,</p> <p> {access, c2s},<br /> {shaper, c2s_shaper},<br /> {max_stanza_size, 65536}<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ]},</p> <p>&nbsp; %%<br />&nbsp; %% To enable the old SSL connection method in port 5223:<br />&nbsp; %%<br />&nbsp; %%{5223, 205.205.221.187, ejabberd_c2s, [<br />&nbsp; %% {access, c2s},<br />&nbsp; %% {shaper, c2s_shaper},<br />&nbsp; %% {certfile, &quot;/path/to/ssl.pem&quot;}, tls,<br />&nbsp; %% {max_stanza_size, 65536}<br />&nbsp; %% &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ]},</p> <p>&nbsp; {5269, 205.205.221.187, ejabberd_s2s_in, [<br /> &nbsp;&nbsp; {shaper, s2s_shaper},<br /> &nbsp;&nbsp; {max_stanza_size, 131072}<br /> &nbsp; ]},</p> <p>&nbsp; %%<br />&nbsp; %% ejabberd_service: Interact with external components (transports...)<br />&nbsp; %%<br />&nbsp; %%{8888, ejabberd_service, [<br />&nbsp; %% &nbsp;&nbsp;&nbsp; {access, all},<br />&nbsp; %% &nbsp;&nbsp;&nbsp; {shaper_rule, fast},<br />&nbsp; %% &nbsp;&nbsp;&nbsp; {ip, {127, 0, 0, 1}},<br />&nbsp; %% &nbsp;&nbsp;&nbsp; {hosts, [&quot;icq.example.org&quot;, &quot;sms.example.org&quot;],<br />&nbsp; %% &nbsp;&nbsp;&nbsp;&nbsp; [{password, &quot;secret&quot;}]<br />&nbsp; %% &nbsp;&nbsp;&nbsp; }<br />&nbsp; %% &nbsp;&nbsp; ]},</p> <p>&nbsp; %%<br />&nbsp; %% ejabberd_stun: Handles STUN Binding requests<br />&nbsp; %%<br />&nbsp; %%{{3478, udp}, ejabberd_stun, []},</p> <p>&nbsp; {5280, 205.205.221.187, ejabberd_http, [<br /> %%{request_handlers,<br /> %% [<br /> %%&nbsp; {[&quot;pub&quot;, &quot;archive&quot;], mod_http_fileserver}<br /> %% ]},<br /> captcha,<br /> http_bind,<br /> http_poll,<br /> web_admin<br /> ]}</p> <p> ]}.</p></code></div> <p>Thanks for your help.</p> <p>Have a noce day.</p> Sat, 10 Apr 2010 17:34:20 +0000 yhugo comment 55560 at https://www.ejabberd.im This means ejabberd is unable https://www.ejabberd.im/node/3961#comment-55451 <p>This means ejabberd is unable to listen on 5280 port. Check if there are no other ejabberd instances running or other processes listening to 5280.</p> Fri, 26 Mar 2010 17:34:03 +0000 zinid comment 55451 at https://www.ejabberd.im