Not logged in. · Lost password · Register
Forum: agsXMPP RSS
Avatar
Karzen #1
Member since Apr 2011 · 2 posts
Group memberships: Members
Show profile · Link to this post
Subject: about JID
Hi everyone.

Sorry for my poor English, but I do confused by description of JID in RFC.

It said that the JID donates the unique entity, both server and client, the format of JID is userName@domain/resource. Here's the problem I encountered:

I tried my computer's name using command ipconfig in cmd with the sample server and MiniClient, the JID is "nnn@localhost ", it fails and the error message said that the network can't be accessed.( so does "router" or "192.168.0.1" or "127.0.0.1" )


If I'm trying to connect my own computer( localhost ), what should the "domain" part will be?

Am I misunderstand some concepts?

Appreciate your reply.
Avatar
Alex #2
Member since Feb 2003 · 4297 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
Quote by Karzen:
If I'm trying to connect my own computer( localhost ), what should the "domain" part will be?
this depends on what is configured in your server which you are connecting for. Look here at the XMPP domain.
Avatar
Karzen #3
Member since Apr 2011 · 2 posts
Group memberships: Members
Show profile · Link to this post
thanks Alex, I solved this problem today.
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