发送 xmpp<消息>;到其他域的组件消息>
步骤1:在同一个域(.myserver.kicks-ass.net)上,我能够成功发送到mycomponent。
步骤 2:当我登录到其他域时,例如 gmail.com 并尝试发送给 上的另一个用户[电子邮件受保护],也成功了。
步骤3:就像步骤2一样,但是我将其发送到mycomponent.myserver.kicks-ass.net,我收到以下错误
<message xmlns='jabber:client'
to='mycomponent.myserver.kicks-ass.net'
from='[email protected]/123'
type='chat'>
<body>
just t4st
</body>
<x xmlns='jabber:x:event'>
<offline/>
<composing/>
</x>
</message>
<message xmlns='jabber:client'
to='[email protected]/123'
from='mycomponent.myserver.kicks-ass.net'
type='error'>
<body>
just t4st
</body>
<x xmlns='jabber:x:event'>
<offline/>
<composing/>
</x>
<error code='404'
type='cancel'>
<remote-server-not-found xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
</error>
</message>
step 1:on the same domain(.myserver.kicks-ass.net), i able to send to the mycomponent,succesfully.
step 2:when i login to other domain ,example gmail.com and try send to another user on [email protected], success as well.
step 3:just like step2, but i send the to mycomponent.myserver.kicks-ass.net , i get below error
<message xmlns='jabber:client'
to='mycomponent.myserver.kicks-ass.net'
from='[email protected]/123'
type='chat'>
<body>
just t4st
</body>
<x xmlns='jabber:x:event'>
<offline/>
<composing/>
</x>
</message>
<message xmlns='jabber:client'
to='[email protected]/123'
from='mycomponent.myserver.kicks-ass.net'
type='error'>
<body>
just t4st
</body>
<x xmlns='jabber:x:event'>
<offline/>
<composing/>
</x>
<error code='404'
type='cancel'>
<remote-server-not-found xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
</error>
</message>
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您是否有以下 SRV 记录:
您可以使用以下 shell 命令对此进行测试:
您可以从网络外部远程登录到该主机/端口吗?例如:
Do you have an SRV record for:
You can test for this with the following shell command:
Can you telnet to that host/port from outside your network? For example: