newbie to jabber technology

Dear all,

There is a need to develop a instant chat tool (client). For doing, i started to look into the xmpp. Last, I found the ejabberd server infos.

so, I installed the ejabberd windows based into my local machine.
Ex: http://localhost:5280/admin/server/localhost/users/

For testing purpose, i downloaded pidgin client and started to communicate between two user accounts in same machine. I found it is working.

But, how could i communicate with other persons in different machines.

Please let me know.

Thanks and Regards,
newbie

Some general comments

srinivasanm wrote:

so, I installed the ejabberd windows based into my local machine.
Ex: http://localhost:5280/admin/server/localhost/users/

For testing purpose, i downloaded pidgin client and started to communicate between two user accounts in same machine. I found it is working.

But, how could i communicate with other persons in different machines.

You need a Jabber server with a name known by all those machines. This can be configured in ejabberd.cfg:

{hosts, ["localhost"]}.

Some possible names:

  • "localhost" is not an acceptable name
  • IP address of the machine, for example "84.150.290.41". The problem is that accounts' JID will be very ugly, like john@84.150.290.41
  • The name of the machine, for example "server936.manchester". The problem in this case is that only machines in the local network can access the Jabber server. The server will never be accesible from Internet.
  • Use a FQDN like "jabber.company.com", or simply "company.com". In this case, the only problem is that you need to negotiate the DNS stuff. If you initially don't want your users to connect from Internet (their homes, other offices...), you can simply use a firewall to block access from Internet.

You may need to open some TCP ports in some firewall in your network. As said in Firewall Settings, you may need to open port 5222. Maybe also 5269.

Syndicate content