ipop-project/Legacy-Documentation

How to login Ejabberd server behind NAT.

truonguit2010 opened this issue · 4 comments

  • I have a physical server. I installed on it Windows server 2008.
  • On windows server I installed VMWare, and install CentOS minimum 6 on VMWare.
  • On my mac, I use Jitsi to connect to ejabberd server. It can connect to my server, but it cannot login. I think I wrong at domain config. Can you show me how to config? I don't have any domain. Can I use ip address?

At this point, IPOP expects the ejabberd server to be listening on a public address. If the ejabberd server is behind a NAT, I don't think you'll be able to connect to it (it may be possible if you do some port forwarding, but I don't think we've ever tried it). You don't need to have a domain name configured, just a public IP address should be sufficient.

You may want to detail the logging to find out the reason of failing login to XMPP server. You can increase the logging level by adding below configuration to your config file.
{
"controller_logging": "DEBUG",
"tincan_logging": 2,
}

Also, I attach the link of documentation of config file. Hope this helps.
https://github.com/ipop-project/documentation/wiki/Configuration

Jitsi client is alway loading. I use global ip address for domain (truongps@my_ip_address). Here is my log:

log

This link is how we install and configure XMPP server.
https://github.com/ipop-project/documentation/wiki/Installing-XMPP-server
I hope this helps.