Ejabberd s2s out remote server not found

两盒软妹~` 提交于 2019-12-13 05:17:40

问题


I have received an error in ejabberd S2S remote server.I am using ejabberd-14.0.7

Error:

ejabberd_s2s_out:log_s2s_out:1315 Trying to open s2s connection: domainname.com -> 192.168.1.2 with TLS=false ejabberd_s2s_out:open_socket:271 s2s connection: domainname.com -> 192.168.1.2 (remote server not found)

How will I change the IPaddress. Now, it shows my local IP insteadof domain-IP


回答1:


There is two possible issues there:

  • To support federation / s2s, an XMPP server must be available on the internet, and not associated to a local IP. Ideally, you should have set DNS SRV record for that XMPP service.
  • The second issue seems that your DNS resolution seems incorrect as ejabberd gets a local address for the domain from your DNS, when you seem to expect a public IP. You need to make sure the DNS service on the XMPP server is set up and properly working.


来源:https://stackoverflow.com/questions/32988750/ejabberd-s2s-out-remote-server-not-found

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!