发送消息一定要用域,不能用IP,不然报错,报错如下:
正确:xxx@localhost
错误:xxx@127.0.0.1
<error code="404" type="CANCEL"><remote-server-not-found xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/></error>
正确:xxx@localhost
错误:xxx@127.0.0.1
<error code="404" type="CANCEL"><remote-server-not-found xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/></error>
本文解释了在发送消息时必须使用域名而不是IP地址的原因。文章指出,如果使用IP代替域名,将导致404错误,并提供了正确的配置示例。
3万+

被折叠的 条评论
为什么被折叠?



