I have ejabberd setup on my app server and the host used is localhost. Everything is working fine on this machine, i am facing problems when a message is sent from a remote machine.
On the main server messages are sent to users in the form of user@localhost as host is localhost. From the remote machine which has no ejabberd i just send messages to the main server users in the form of user@(IP to main machine) but this fails.
Is there any configuration setting that lets me just send messages to the main server using IP as the host instead of localhost
sdz007 wrote: Is there any
Is there any configuration setting that lets me just send messages to the main server using IP as the host instead of localhost
You have to configure in ejabberd.cfg to serve the domain "1.2.3.4", or whatever IP address it has, or some other domain that all the machines know to locate the server machine.
Of course, the accounts that you registered in the domain "localhost" need to be reregistered for the domain "1.2.3.4"