Not logged in. · Lost password · Register
Forum: MatriX RSS
jaoude #1
Member since Dec 2015 · 1 post
Group memberships: Members
Show profile · Link to this post
Subject: How To include the client IP address

I set up a tigase server on an azure VM.

Using Matrix library we created a very simple client tool to test the server connection.

When the client tool is local on the server machine, the connection seems great and we get OnPresence call back.

When the client is on a different machine, we connect (somehow) to the server, but we get unknown host.
Upon mentioning this to Tigase people they mentioned something about "...specify the local IP in clients...".

Can you please help ? "how do we specify the local IP in clients in an xmppClient object" ?!

Alex #2
Member since Feb 2003 · 4388 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
usually you specify only the XmppDomain and the client resolves the IP of your server from the DNS using SRV records. SRV records are a requirement by XMPP and defined in the XMPP RFCs.

If you have no SRV records set you can set you IP manual. For a sample take a look at the docs here:…

the Hostname property accepts an IP or DNS name.

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: MatriX RSS