【发布时间】:2014-12-08 07:57:39
【问题描述】:
我向客户端发送数据包
<iq id="kGufc-4" to="tp@localhsot" from="admin@localhost" type="get"><query xmlns='http://localhost/protocol/disco#info'/></iq>
并收到
<iq id="kGufc-4" to="admin@localhost/testchat" from="tp@localhsot" type="error"><error code="404" type="CANCEL"><remote-server-not-found xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/></error></iq>
什么问题???
【问题讨论】:
-
您在代码中的某处使用“localhsot”而不是“localhost”。
-
谢谢..但是在更正之后没有任何响应返回
-
还要在服务器端检查你的域名。
标签: java xmpp openfire remote-server