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?
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!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With