ejabberd - Comments for "How should /etc/hosts be configured?" https://www.ejabberd.im/node/21722 en This worked! Thanks a lot! https://www.ejabberd.im/node/21722#comment-64500 <p>This worked! Thanks a lot!</p> Thu, 31 Jul 2014 09:09:32 +0000 alex42 comment 64500 at https://www.ejabberd.im /etc/hosts 127.0.0.1       https://www.ejabberd.im/node/21722#comment-64499 <p>/etc/hosts</p> <div class="codeblock"><code>127.0.0.1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; localhost<br />192.168.1.10&nbsp;&nbsp; foobar.ddns.net foobar<br />::1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; localhost ip6-localhost ip6-loopback<br />fe00::0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ip6-localnet<br />ff00::0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ip6-mcastprefix<br />ff02::1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ip6-allnodes<br />ff02::2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ip6-allrouters</code></div> <p>/etc/hostname</p> <div class="codeblock"><code>foobar</code></div> <p>/etc/ejabberd/ejabberd.cfg</p> <div class="codeblock"><code>... <p>%% Admin user<br />{acl, admin, {user, &quot;admin&quot;, &quot;foobar.ddns.net&quot;}}.</p> <p>%% Hostname<br />{hosts, [&quot;foobar.ddns.net&quot;]}.</p> <p>...</p></code></div> <p>192.168.1.10 = my server-ip<br /> foobar = my local server name<br /> foobar.ddns.net = my domain (i use a free-dns from noip.org)</p> <p>Don't forget to reboot after editing '/etc/hosts' or '/etc/hostname'.<br /> You also need to do a 'ejabberdctl restart' after editing the ejabberd.cfg.</p> Thu, 31 Jul 2014 08:52:17 +0000 fako comment 64499 at https://www.ejabberd.im