Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ejabberd component port

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?

like image 350
cometta Avatar asked Jan 23 '23 06:01

cometta


1 Answers

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!

like image 67
Julien Genestoux Avatar answered Jan 24 '23 20:01

Julien Genestoux