Not logged in. · Lost password · Register
Forum: agsXMPP RSS
Avatar
ismailqadri #1
Member since Mar 2018 · 10 posts
Group memberships: Members
Show profile · Link to this post
Subject: unable to connect eJabberd server from my .Net console application
i am trying to connect my local ejabbered server from my .net Console application.
getting below error.

No connection could be made because the target machine actively refused it 192.168.1.184:5222

I have disabled IPV6 still getting above error.
sample code.

  1. var host = "XXX.net";
  2. var user = "ASDF@XXX.net";
  3. var pass = "XXXXX";
  4.  
  5. XmppClient m_xmppClient = new Xmpp.Client.XmppClient(host, user, pass);
  6.  
  7. m_xmppClient.Connect();

Thanks in advance.
This post was edited 3 times, last on 2018-03-16, 14:29 by ismailqadri.
Avatar
Alex #2
Member since Feb 2003 · 4449 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
have you verified that your server is listening on this ip/port at all?
With tools like netstat and telnet?

Also, why are you not using MatriX or MatriX vNext?
Avatar
ismailqadri #3
Member since Mar 2018 · 10 posts
Group memberships: Members
Show profile · Link to this post
Matrix is free?
Avatar
Alex #4
Member since Feb 2003 · 4449 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
MatriX vNext is under the same dual license as agsXMPP.
GPL v3 or commercial
Avatar
ismailqadri #5
Member since Mar 2018 · 10 posts
Group memberships: Members
Show profile · Link to this post
i am not using for commercial.
I have tested with matrix bit when client.Open(); getting a popup asking for licence.
The author has attached one file to this post:
matrix.PNG 50 kBytes
You have no permission to open this file.
This post was edited on 2018-03-19, 07:49 by ismailqadri.
Avatar
ismailqadri #6
Member since Mar 2018 · 10 posts
Group memberships: Members
Show profile · Link to this post
from where i can get the Matrix Dll or Code for Client.

Thank you, waiting for your response.
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Forum: agsXMPP RSS