Not logged in. · Lost password · Register
Forum: agsXMPP RSS
Avatar
lingx825 #1
Member since Nov 2007 · 23 posts
Group memberships: Members
Show profile · Link to this post
Subject: Problem login when the server is IP addres
when I try to use the IP address as a server and login with agsXMPP
It can Connected,Authenticated,But there's an error happened when binding

Write Socket:
<iq xmlns="jabber:client" id="agsXMPP_1" type="set" to="192.168.0.145"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><resource>agsXMPP</resource></bind></iq>

Read Socket
<iq type="error" id="agsXMPP_1" from="192.168.0.145" to="jbughole/92d4486c"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><resource>agsXMPP</resource></bind><error code="400" type="modify"><bad-request xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/></error></iq>d>zlib</method></compression><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"/><session xmlns="urn:ietf:params:xml:ns:xmpp-session"/></stream:features>ssion><auth xmlns="http://jabber.org/features/iq-auth"/><register xmlns="http://jabber.org/features/iq-register"/></stream:features>

But when use the server name,it works fine
Could somebody tell me why and how to solve it?
Thank for your advice
Avatar
Jabberer #2
Member since Feb 2006 · 249 posts
Group memberships: Members
Show profile · Link to this post
this is correct and how xmpp works. Please use the forum search. Many people asked this question before.

JabberIds are like email addresses.
If you know that the Ip address of server.com mail server is 100.100.100.100, do you send you email to info@100.100.100.100?
Software Developer
AG-Software
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