may i know if i want to use component to connect to ejabberd, do i connect to port 5222 or do i need to create new port? any guide on how to create it?
+2
A:
Each component has to use a different port. You can set that up in the ejabberd config.
The setup happens with the listen
block. For example :
{5237, ejabberd_service, [{hosts, ["gg.example.org"],
[{password, "ggsecret"}]}]},
Good luck!
Julien Genestoux
2010-04-14 14:26:26
let say my domain is jabber.net , i need to put subdomain.jabber.net as host?
cometta
2010-04-14 14:35:07
Yes, you do need to put subdomain.jabber.net. Make sure that your component uses this to connect.
Julien Genestoux
2010-04-16 19:33:15