Can't connect ejabberd from client

Hy guys!

I installed ejabberd on my PC with OS Windows 7. I used specific installer. I opened all needed ports. I can access Web Admin in browser with my admin account. But I don't know how to connect server from client. I started with simple console client using agsXMPP library. I write:

XmppClientConnection xmpp = new XmppClientConnection("ejabberd@host");
xmpp.Username = "user_name";
xmpp.Password = "password";
xmpp.Open();

But even for admin account xmpp.Authenticated returns false and xmpp.XmppConnectionState returns connecting. Maybe it's related to database configuration because I didn't change it?

What's wrong, what should I check. Please, any ideas. I am completely lost. Thanks in advance!

Did you check to see if you

Did you check to see if you could connect by other means? Like... for example from http://localhost:5280 with the admin user/pass?

arpad9 wrote: Did you check

arpad9 wrote:

Did you check to see if you could connect by other means? Like... for example from http://localhost:5280 with the admin user/pass?

MOK wrote:

I can access Web Admin in browser with my admin account.

Seems like it.

MOK wrote:

xmpp.Username = "user_name";

maybe it should be user_name@host?

Syndicate content