发送消息一定要用域,不能用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>