ProcessOne SiteCustomer Helpdesk and FeedbackFollow us on Twitter
 
   
 
Can’t connect ejabberd from client
Posted: 25 May 2012 10:54 AM   [ Ignore ]
Newbie
Rank
Total Posts:  1
Joined  2012-05-25

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!

Profile
 
 
Posted: 05 June 2012 04:14 PM   [ Ignore ]   [ # 1 ]
Moderator
Rank
Total Posts:  5
Joined  2011-07-01

Could you check that you can connect to ejabberd using a chat client like Psi or Gajim for example ?

Also, I think this is wrong :

new XmppClientConnection(“ejabberd@host”);

It might be (I don’t know agsXMPP) :

new XmppClientConnection(“localhost”);

Profile