ejabberd - Comments for "Fresh Install &amp;#039;IP Adress not available&amp;quot;" https://www.ejabberd.im/node/19103 en Dweezahr wrote: You need to https://www.ejabberd.im/node/19103#comment-65616 <div class="quote-msg"> <div class="quote-author"><em>Dweezahr</em> wrote:</div> <p>You need to reconfigure your dns server, as thats where ejabberd gets the public ip from.</p></div> <p>hello expert, please help, i face the same error that is eaddrnotavail. Here detail logs:</p> <p>2015-05-10 23:34:55.575 [error] &lt;0.335.0&gt;@ejabberd_listener:socket_error:556 FORMAT ERROR: "Failed to open socket:~n ~p~nReason: ~s" [{5222,ejabberd_stun,[inet,{ip,{103,10,58,45}}]},[73,80,32,97,100,100,114,101,115,115,32,110,111,116,32,97,118,97,105,108,97,98,108,101,58,32|&lt;&lt;"103.10.58.45"&gt;&gt;]]<br /> 2015-05-10 23:34:55.575 [error] &lt;0.335.0&gt; CRASH REPORT Process ejabberd_listeners with 0 neighbours exited with reason: bad return value: {eaddrnotavail,{5222,{103,10,58,45},tcp}} in gen_server:init_it/6 line 332<br /> 2015-05-10 23:34:55.576 [error] &lt;0.299.0&gt; Supervisor ejabberd_sup had child ejabberd_listener started with ejabberd_listener:start_link() at undefined exit with reason bad return value: {eaddrnotavail,{5222,{103,10,58,45},tcp}} in context start_error<br /> 2015-05-10 23:34:55.671 [info] &lt;0.38.0&gt;@cyrsasl_digest:start:57 FQDN used to check DIGEST-MD5 SASL authentication: bay-laptop<br /> 2015-05-10 23:34:55.692 [critical] &lt;0.38.0&gt;@gen_mod:start_module:90 Problem starting the module mod_adhoc for host &lt;&lt;"bay-laptop"&gt;&gt;<br /> options: []<br /> exit: {noproc,<br /> {gen_server,call,<br /> [ejabberd_iq_sup,<br /> {start_child,[&lt;&lt;"bay-laptop"&gt;&gt;,mod_adhoc,process_local_iq]},<br /> infinity]}}<br /> [{gen_server,call,3,[{file,"gen_server.erl"},{line,188}]},<br /> {gen_iq_handler,add_iq_handler,6,[{file,"src/gen_iq_handler.erl"},{line,69}]},<br /> {mod_adhoc,start,2,[{file,"src/mod_adhoc.erl"},{line,48}]},<br /> {gen_mod,start_module,3,[{file,"src/gen_mod.erl"},{line,82}]},<br /> {lists,foreach,2,[{file,"lists.erl"},{line,1323}]},<br /> {ejabberd_app,start,2,[{file,"src/ejabberd_app.erl"},{line,67}]},<br /> {application_master,start_it_old,4,<br /> [{file,"application_master.erl"},{line,269}]}]</p> <p>thanks in advance,<br /> best regards,<br /> alandalus</p> Wed, 03 Jun 2015 10:34:45 +0000 alandalus comment 65616 at https://www.ejabberd.im I told it to listen on the ip https://www.ejabberd.im/node/19103#comment-64010 <p>I told it to listen on the ip 192,168,1,15 but now it seems to sort of stall out.</p> <p>I run sudo ejabberd zap</p> <p>but when it reaches </p> <div class="codeblock"><code>=INFO REPORT==== 18-May-2014::16:13:28 ===<br />I(&lt;0.39.0&gt;:cyrsasl_digest:44) : FQDN used to check DIGEST-MD5 SASL authentication: &quot;mydomain.org&quot; <p>=INFO REPORT==== 18-May-2014::16:13:28 ===<br />I(&lt;0.355.0&gt;:ejabberd_listener:166) : Reusing listening port for 5222</p> <p>=INFO REPORT==== 18-May-2014::16:13:28 ===<br />I(&lt;0.356.0&gt;:ejabberd_listener:166) : Reusing listening port for 5269</p> <p>=INFO REPORT==== 18-May-2014::16:13:28 ===<br />I(&lt;0.357.0&gt;:ejabberd_listener:166) : Reusing listening port for 5280</p> <p>=INFO REPORT==== 18-May-2014::16:13:28 ===<br />I(&lt;0.39.0&gt;:ejabberd_app:72) : ejabberd 2.1.10 is started in the node ejabberd@mydomain</p></code></div> <p>It never goes beyond this.</p> Sun, 18 May 2014 21:14:34 +0000 Flash619 comment 64010 at https://www.ejabberd.im Dweezahr wrote: You need to https://www.ejabberd.im/node/19103#comment-64009 <div class="quote-msg"> <div class="quote-author"><em>Dweezahr</em> wrote:</div> <p>You need to reconfigure your dns server, as thats where ejabberd gets the public ip from.</p></div> <p>At the moment for DNS it is just using 'or should be using' my router which is configured via DD-WRT. Why would it want the public IP? Currently its trying to bind to my public 'wan' ip, which is why it's failing.</p> Sun, 18 May 2014 19:18:36 +0000 Flash619 comment 64009 at https://www.ejabberd.im No idea why it attempts to https://www.ejabberd.im/node/19103#comment-63996 <p>No idea why it attempts to use that IP address. But you can tell mod_proxy65 what IP address you want it to use, right? Set the option 'ip' in mod_proxy65.</p> Wed, 14 May 2014 11:35:35 +0000 mfoss comment 63996 at https://www.ejabberd.im You need to reconfigure your https://www.ejabberd.im/node/19103#comment-63994 <p>You need to reconfigure your dns server, as thats where ejabberd gets the public ip from.</p> Wed, 14 May 2014 11:11:07 +0000 Dweezahr comment 63994 at https://www.ejabberd.im