A little connection issue

Hi there

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 ». I have a named and I added:

_xmpp-client._tcp 86400 IN SRV 20 0 5222 im.malikania.org.
_xmpp-server._tcp 86400 IN SRV 20 0 5269 im.malikania.org.

So now I don't know what can the problem be.

Do you have any ideas ?

Check logs; try other clients; try telnet

markand wrote:

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 ».

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.

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.

You can check if it is listening for client connections:

$ netstat -nl | grep 5222
tcp        0      0 0.0.0.0:5222            0.0.0.0:*               LISTEN

You can also try to connect using other Jabber client: Psi, Tkabber, Pidgin...

You can also try with Telnet. In my case I have in ejabberd.cfg

{hosts, ["localhost"]}.

So I can connect and send some garbage:

$ telnet localhost 5222
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.

aaaaaaaa

<?xml version='1.0'? ... Connection closed by foreign host.

Syndicate content