简体   繁体   中英

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?

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!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM