[Tkabber] Re: Bind ejabberd on special ip

Sergei Golovan sgolovan at nm.ru
Mon Oct 4 08:40:40 MSD 2004


On Sun, Oct 03, 2004 at 09:14:46PM +0000, Frank Niedermann wrote:
> Hi Sergei,
> 
> Sergei Golovan <sgolovan at nm.ru> wrote:
> > On Sun, Oct 03, 2004 at 08:39:54PM +0000, Frank Niedermann wrote:
> >> is it possible to bind ejabberd on a special ip?
> > Try to specify option {ip} in {listen} section of the config file.
> > For example:
> > {5222, ejabberd_c2s, [{access, c2s}, {ip, {192, 168, 1, 1}},
> >                      {shaper, c2s_shaper}]}
> 
> I've done this but without " arount the ip I get a syntax error, if I
> put " around the ip ejabberd starts but I'm not able to connect to port
> 5222 or 5223 (not on both of the ips).

You shouldn't put quotes around ip.

Show your config file {listen} section and the error.

-- 
Sergei 'TeopeTuK' Golovan


More information about the Tkabber mailing list