If you want to enable http-bind or http-poll in ejabberd, e.g. to set up jwchat, don’t forget to load the modules.

{modules, [ ... {mod_http_bind, []} ]}.

Otherwise jwchat will silently fail with “Service unavailable”.