ejabberd - Comments for "A little connection issue" https://www.ejabberd.im/node/3536 en Check logs; try other clients; try telnet https://www.ejabberd.im/node/3536#comment-54325 <div class="quote-msg"> <div class="quote-author"><em>markand</em> wrote:</div> <p>I installed ejabberd 2.0.4 on my NetBSD server, it works fine I can subscribe a new account which is display in the web admin interface. But when I try to connect it with gajim I get « Connection asynchronous ».</p></div> <p>I have no idea what the problem can be. If you can connect to the WebAdmin in port 5280 it means ejabberd probably started correctly.</p> <p>You can check ejabberd.log and sasl.log when ejabberd is started, and also when you attempt to connect: maybe they display some error message.</p> <p>You can check if it is listening for client connections:</p> <pre>$ netstat -nl | grep 5222 tcp 0 0 0.0.0.0:5222 0.0.0.0:* LISTEN</pre><p> You can also try to connect using other Jabber client: Psi, Tkabber, Pidgin... </p> <p>You can also try with Telnet. In my case I have in ejabberd.cfg</p> <pre>{hosts, ["localhost"]}.</pre><p> So I can connect and send some garbage:</p> <pre>$ telnet localhost 5222 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. aaaaaaaa &lt;?xml version='1.0'? ... Connection closed by foreign host. </pre> Mon, 08 Jun 2009 22:27:40 +0000 mfoss comment 54325 at https://www.ejabberd.im