ejabberd - Comments for "ejabberd and ipv6" https://www.ejabberd.im/node/1138 en I don't think it's related https://www.ejabberd.im/node/1138#comment-2450 <p>I don't think it's related to this:</p> <p>the erl -name parameter is the same as in my config file, but it just fails to start when I use the inet6 parameter, normal ipv4 operation works just fine.</p> Wed, 25 Oct 2006 07:43:23 +0000 liedekef comment 2450 at https://www.ejabberd.im What is the startup command https://www.ejabberd.im/node/1138#comment-2449 <p>What is the startup command that you used? I got the same error you got, when the host in the cfg file did not match the -name parameter in the erl command line.</p> <p>I use Freebsd and use "sockstat | grep beam" to look up ejabberd processes. If you get those "informational" errors, more than likely, your jabber server is not up and accessible. I struggled just this weekend with similar issues. Matching the host in the cfg and the -name parameter resolved it for me.</p> Tue, 24 Oct 2006 21:02:07 +0000 untwisted comment 2449 at https://www.ejabberd.im Not on FreeBSD. https://www.ejabberd.im/node/1138#comment-2445 <p>This isn't true for the FreeBSD version. It only binds on v6, not on v4&amp;v6.</p> Mon, 23 Oct 2006 17:57:53 +0000 lebel comment 2445 at https://www.ejabberd.im I have this in my config: https://www.ejabberd.im/node/1138#comment-2427 <p>I have this in my config:</p> <p> {5222, ejabberd_c2s, [inet6, {access, c2s},<br /> {shaper, c2s_shaper},<br /> {max_stanza_size, 65536}]},</p> <p>but whenever I launch ejabber, it says in the logfile:<br /> =INFO REPORT==== 2006-10-20 16:49:59 ===<br /> application: ejabberd<br /> exited: shutdown<br /> type: temporary</p> <p>not too informative to me :-(<br /> Netstat gives me nothing for port 5222. Can I check anything else?</p> Fri, 20 Oct 2006 14:55:56 +0000 liedekef comment 2427 at https://www.ejabberd.im If you add the option https://www.ejabberd.im/node/1138#comment-2426 <p>If you add the option 'inet6' to the listened socket on ejabberd.cfg, as described on ejabberd guide, ejabberd will listen to IPv6 and IPv4, at the same time, on the same port.</p> <p>Example:</p> <div class="quote-msg"> <div class="quote-author"><em>ejabberd.cfg</em> wrote:</div> <p>{listen,<br /> [<br /> {5222, ejabberd_c2s, [inet6, {access, c2s}, {shaper, c2s_shaper}]},<br /> ...<br /> ]}.</p></div> <div class="quote-msg"> <div class="quote-author"><em>shell</em> wrote:</div> <p>$ telnet 5222<br /> Trying<br /> Connected to<br /> Escape character is '^]'.<br /> Connection closed by foreign host.</p> <p>$ telnet -6 ::1 5222<br /> Trying ::1...<br /> Connected to ::1.<br /> Escape character is '^]'.<br /> Connection closed by foreign host.</p></div> <div class="quote-msg"> <div class="quote-author"><em>ejabberd.log</em> wrote:</div> <p>=INFO REPORT==== 20-Oct-2006::15:52:11 ===<br /> I(&lt;0.246.0&gt;:ejabberd_listener:90): (#Port&lt;0.364&gt;) Accepted connection {{0,0,0,0,0,65535,32512,10},53775} -&gt; {{0,0,0,0,0,65535,32512,10},5222}</p> <p>=INFO REPORT==== 20-Oct-2006::15:52:16 ===<br /> I(&lt;0.246.0&gt;:ejabberd_listener:90): (#Port&lt;0.322&gt;) Accepted connection {{0,0,0,0,0,0,0,1},60879} -&gt; {{0,0,0,0,0,0,0,1},5222}</p></div> Fri, 20 Oct 2006 14:06:16 +0000 mfoss comment 2426 at https://www.ejabberd.im