ejabberd - Comments for "ejabberd is running, but ejabberdctl doesn&amp;#039;t function" https://www.ejabberd.im/node/4794 en Gelraen explained in the https://www.ejabberd.im/node/4794#comment-57540 <p>Gelraen explained in the ejabberd chatroom:</p> <p>erl_epmd module first tries to resolve hostname via inet:gethostbyname, and gets hosts FQDN and public IP via dns (since /etc/resolv.conf have "search" line). Then it tries to connect to epmd port on that public IP, but epmd is listening only on 127.0.0.1 So, all works fine after adding 'calipso' after 'localhost' in /etc/hosts</p> Mon, 27 Jun 2011 19:12:12 +0000 mfoss comment 57540 at https://www.ejabberd.im Same issue here, also when https://www.ejabberd.im/node/4794#comment-57536 <p>Same issue here, also when trying ejabberdctl --node ejabberd@localhost debug </p> <p>OS FreeBSD 8.1 ejabberd installed from ports</p> <p>just works if f ejabberd is down, seems to be a issue that do not allow reusing the port or current running instance of ejabberd</p> Sat, 25 Jun 2011 20:51:27 +0000 nbari comment 57536 at https://www.ejabberd.im Try ejabberdctl --node https://www.ejabberd.im/node/4794#comment-57533 <p>Try<br /> ejabberdctl --node ejabberd@localhost debug</p> Sat, 25 Jun 2011 10:54:45 +0000 mfoss comment 57533 at https://www.ejabberd.im