ejabberd - Comments for "how to bind to specific ip address?" https://www.ejabberd.im/node/478 en Win server will not bind to IP https://www.ejabberd.im/node/478#comment-1479 <p>Hi,</p> <p>My server will not bind to the IP I specified in the config (see below). When I start ejabberd on my windows 2003 server, it binds to all IPs and not to the one I specified in ejabberd.cfg. Also, I do not see any errors when I start it via the "Start Ejabberd" shortcut console.</p> <p>from my config: </p> <p> {5222, ejabberd_c2s, [{access, c2s}, {ip, {xxx, xxx, xxx, xxx}},<br /> starttls, {certfile, "./ejabberd.pem"},<br /> {shaper, c2s_shaper}]},</p> <p>% When using SSL/TLS ssl option is not recommended (it requires patching<br /> % erlang ssl application). Use tls option instead (as shown below).<br /> {5223, ejabberd_c2s, [{access, c2s}, {ip, {xxx, xxx, xxx, xxx}},<br /> tls, {certfile, "./ejabberd.pem"},<br /> {shaper, c2s_shaper}]},</p> <p> {5269, ejabberd_s2s_in, [{shaper, s2s_shaper}, {ip, {xxx, xxx, xxx, xxx}}]},</p> <p>% {5555, ejabberd_service, [{access, all},<br /> % {host, "icq.localhost", [{password, "secret"}]}]},</p> <p> {80, ejabberd_http, [http_poll, web_admin]}<br /> ]}.</p> <p>--<br /> Speckz</p> Mon, 20 Mar 2006 16:28:37 +0000 speckz comment 1479 at https://www.ejabberd.im thank you very much, somehow https://www.ejabberd.im/node/478#comment-989 <p>thank you very much, somehow I must have missed this :/</p> Thu, 03 Nov 2005 09:28:40 +0000 zeank comment 989 at https://www.ejabberd.im {ip, {192, 168, 1, 1}} https://www.ejabberd.im/node/478#comment-986 <p>ejabberd guide, <noindex><a href="http://www.process-one.net/en/projects/ejabberd/docs/guide_en.html#htoc17" rel="nofollow" >3.1.5 Listened Sockets</a></noindex>:</p> <pre>{ip, IPAddress} This option specifies which network interface to listen on. For example {ip, {192, 168, 1, 1}}.</pre><p>This option can be used on ejabberd_c2s, ejabberd_s2s_in, ejabberd_service and ejabberd_http, even if on the current guide it's only described for c2s.</p> Wed, 02 Nov 2005 22:53:04 +0000 mfoss comment 986 at https://www.ejabberd.im