bind to one interface

Michael Scherer misc at mandriva.org
Wed Nov 15 20:05:05 UTC 2006


Le mercredi 15 novembre 2006 à 19:43 +0000, Martin Atkins a écrit :
> oliver oli wrote:
> > is there a configuration option to bind djabberd to just one interface / 
> > IP, instead of alle interfaces / 0.0.0.0
> 
> The ClientPort, ServerPort and other Port-related will accept an 
> interface address followed by a colon and then the port number, like this:
> 
> ClientPort 127.0.0.1:5222

Not here

~ $ grep Client /etc/djabberd/djabberd.conf
ClientPort 127.0.0.1:5222
~ $ sudo djabberd -c /etc/djabberd/djabberd.conf
Configuration error on line 9: Not a number

djabber try to verify that ClientPort is a number with
DJabberd::Util::as_num, maybe this should use a different check for
ClientPort and other related settings ?

-- 
Michael Scherer



More information about the Djabberd mailing list