ejabberd - Comments for "SSL strange after upgrading to ejabberd 2" https://www.ejabberd.im/node/3458 en Listen is not per-vhost https://www.ejabberd.im/node/3458#comment-54150 <p>The 'listen' section is not configurable per-vhost. It is global for all the ejabberd node. So providing it inside a host_config is a bad idea.</p> <p>Just put:</p> <pre> {listen, [{5222, ejabberd_c2s, [{access, c2s}, {shaper, c2s_shaper}, {ip, {10, 0, 5, 16}}, {max_stanza_size, 65536}, starttls_required, {certfile, "/usr/local/etc/ejabberd/jabber.honeypot.net.pem"}]}, {5223, ejabberd_c2s, [{access, c2s}, {ip, {10, 0, 5, 16}}, {max_stanza_size, 65536}, tls, {certfile, "/usr/local/etc/ejabberd/jabber.honeypot.net.pem"}]}, {5269, ejabberd_s2s_in, [{shaper, s2s_shaper}, {ip, {10, 0, 5, 16}}, {max_stanza_size, 131072} ]}, {5280, ejabberd_http, [{ip, {10, 0, 5, 16}}]}, {8888, ejabberd_service, [{hosts, ["icq.localhost", "sms.localhost"], [{password, "secret"}]}]} ]}. {s2s_use_starttls, true}. {s2s_certfile, "/usr/local/etc/ejabberd/jabber.honeypot.net.pem"}. {outgoing_s2s_port, 5269}. </pre> Thu, 09 Apr 2009 19:09:29 +0000 mfoss comment 54150 at https://www.ejabberd.im