0
步驟1:在同一個域(.myserver.kicks-ass.net)上,我能夠成功發送到mycomponent。將xmpp <message>發送到其他域上的組件
第2步:當我登錄到其他域,例如gmail.com,並嘗試發送給test @ .myserver.kicks-ass.net上的另一個用戶,以及成功。
第3步:就像第二步,但我發來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>
我使用dyndns,如何添加_xmpp-server._tcp.mycomponent.myserver.kicks-ass.net? – cometta 2010-04-19 01:18:02
myserver.kicks-ass.net是由dyndns直接管理的,還是隻是用它們將A記錄映射到該名稱上?如果是前者,則需要使用專家界面(請參閱:http://www.dyndns.com/support/kb/record_types_supported_in_custom_dns_expert_interface.html)。如果是後者,只需將該A記錄名稱作爲SRV的目標。 – 2010-04-21 06:43:08
@JoeHildebrand我堅持爲我的本地配置DynDNS。你可以看看我的問題http://stackoverflow.com/questions/27304810/domain-name-for-my-pc-configure-router-how-to請嗎?謝謝! – 2014-12-05 17:08:51