As with e-mail, you'll need an account with a service provider. Again, there are plenty of choices. The following links each give you lists of publicly available providers.
xmpp 对话开始了..:<stream:error><policy-violation xmlns='urn:ietf:params:xml:ns: xmpp-streams'/><text xmlns='urn:ietf:params:xml:ns:xmpp-streams'>E 20200715_060522_752_752671 xmpp 服务器端来的第一条命令:<stream:error false len(t_data): 114 SetConnectTimeOut_tcp aaa 读取内容 n: 114 读取内容:<policy-violation xmlns='urn:ietf:params:xml:ns:xmpp-streams'/><text xm lns='urn:ietf:params:xml:ns:xmpp-streams'>E 20200715_060522_752_752671 xmpp server 端的一条完整命令: <policy-violation xmlns ='urn:ietf:params:xml:ns:xmpp-streams'/><text xmlns='urn:ietf:params:xml:ns:xmpp -streams'>E if sCmd == <db:result {...sCmd= <policy-violation SetConnectTimeOut_tcp aaa RecvBuf() 服务器返回:ncrypted server-to-server communication is required but was not offered</text></stream:error></stream:stream> bbb 读取内容 n: 109 读取内容:ncrypted server-to-server communication is required but was not offered </text></stream:error></stream:stream> 20200715_060522_752_752671 xmpp server 端的一条完整命令: ncrypted server-to-serv er communication is required but was not offered</text></stream:error></stream:s tream> if sCmd == <db:result {...sCmd= ncrypted SetConnectTimeOut_tcp aaa RecvBuf() 读取服务器数据异常: EOF bbb RecvBuf 超时,跳出连接过程. handleConnection_xmpp_server conn.Close