How to save my configuration for Listened Ports module

Hi everybody. I just create an external component that connects to Ejabberd server and then send a message to an account in Pidging. My question is the following: I can connect with my external component to the server, creating a listened port(5275) with the module ejabberd_service. The topic here is that, when I create this port, is everything working just fine, but every time I disconnect from the Server, the port that I created is non shown in the configuration, so I have to create every time I log in the server. Is there a way that I can create once, and save this configuration, so I don't have to create every time I log in?

Thanks for your help.

matiasMunoz988 wrote: I just

matiasMunoz988 wrote:

I just create an external component that connects to Ejabberd server

the port that I created is non shown in the configuration

Maybe your component has a bug, and it closes the connection with ejabberd.

Or maybe your component sends a stanza to ejabberd considered offensive (e.g. with wrong XML syntax), and then ejabberd closes the connection.

You can sniff the network traffic between your component and ejabberd to see who closes the connection. Maybe you discover why it gets closed.

Hi badlop. Is not the

Hi badlop. Is not the connection that closes. Maybe I didn't explain well. I add the ejabberd_service into the server, but when I stop the Ejabberd Server and I restart, my ejabberd_service, is not there. So i have to configure my listening port, every time I start Ejabberd Server. I want to know if is there a way to save my ejabber_service, without configuring every time I log up.

I hope that my explanation be understood.

Thanks.

configure it in ejabberd.cfg

matiasMunoz988 wrote:

I add the ejabberd_service into the server, but when I stop the Ejabberd Server and I restart, my ejabberd_service, is not there. So i have to configure my listening port, every time I start Ejabberd Server. I want to know if is there a way to save my ejabber_service, without configuring every time I log up..

The configuration changes in the WebAdmin are not stored in ejabberd.cfg

If you want to ensure a permanent configuration, configure it in ejabberd.cfg

Related section:
http://www.process-one.net/en/ejabberd/guide_en#basicconfig

Syndicate content