ejabberd - Comments for "Works fine till I try to have it listen to ports" https://www.ejabberd.im/node/381 en Thank you so much!!! https://www.ejabberd.im/node/381#comment-787 <p>Thank you so much!!!</p> Sat, 10 Sep 2005 22:42:16 +0000 newyork4me comment 787 at https://www.ejabberd.im I guess the error is at the https://www.ejabberd.im/node/381#comment-785 <p>I guess the error is at the end of this line:</p> <pre>{5280, ejabberd_http, [http_poll, web_admin]}</pre><p> --<br /> sander</p> Sat, 10 Sep 2005 20:21:07 +0000 sander comment 785 at https://www.ejabberd.im Here is what I have right https://www.ejabberd.im/node/381#comment-784 <p>Here is what I have right now:</p> <pre>% Listened ports: {listen, [{5222, ejabberd_c2s, [{access, c2s}, {shaper, c2s_shaper}]}, %% Use this line to enable SSL: %%{5223, ejabberd_c2s, [{access, c2s}, ssl, {certfile, "./ssl.pem"}]}, %% %% Use those lines instead for TLS support: %%{5222, ejabberd_c2s, [{access, c2s}, {shaper, c2s_shaper}, %% starttls, {certfile, "./ssl.pem"}]}, %% {5223, ejabberd_c2s, [{access, c2s}, %% tls, {certfile, "./ssl.pem"}]}, %% Remove this line if you want to prevent s2s connections: {5269, ejabberd_s2s_in, [{shaper, s2s_shaper}]}, %% remove http_poll to remove support for http polling %% remove web_admin to disable admin interface: {5280, ejabberd_http, [http_poll, web_admin]} %% This is an example on how to define an external service/transport: %% {5347, ejabberd_service, [{access, all}, %% {hosts, ["aim.imessenge.com"], %% [{password, "secret"}]}]} {5347, ejabberd_service, [{host, "aim.imessenge.com", [{password, "secret"}]}]} ]}. % If SRV lookup fails, then port 5269 is used to communicate with remote server {outgoing_s2s_port, 5269}.</pre><p> I think I have it correct, I don't know though. Also, I dont have a log file? I can look in the /logs/ directory, but it is not there?</p> Sat, 10 Sep 2005 18:27:20 +0000 newyork4me comment 784 at https://www.ejabberd.im Did you check the log file? https://www.ejabberd.im/node/381#comment-783 <p>Did you check if errors appear on the log? For example <a href="/node/16">'Can't load config file'</a>. It's probable that you introduce a syntax error with that line. Check that every {...} has a comma at the end, except the last one.</p> <p>Examples: <ul> <li>wrong: <pre>{listen, [ {1}, {2} -- it needs a comma, since there are more elements later {3} ]}</pre> </li><li>wrong: <pre>{listen, [ {1}, {2}, {3}, -- the last element should not have a comma ]}</pre> </li><li>right: <pre>{listen, [ {1}, {2}, {3} ]}</pre> </li></ul> </p> Sat, 10 Sep 2005 15:42:43 +0000 mfoss comment 783 at https://www.ejabberd.im Yes..I do the changes in https://www.ejabberd.im/node/381#comment-782 <p>Yes..I do the changes in ejabberd.cfg</p> <p>Here is the line I add</p> <p>{5347, ejabberd_service, [{host, "aim.imessenge.com", [{password, "secret"}]}]},</p> <p>Thanks again!</p> Sat, 10 Sep 2005 14:39:39 +0000 newyork4me comment 782 at https://www.ejabberd.im As soon as I comment out the https://www.ejabberd.im/node/381#comment-781 <blockquote><p>As soon as I comment out the transport, it runs perfectly.</p></blockquote> <p>Maybe you introduce a syntax error when you put the transport. Copy here the changes you do on ejabberd (you modify ejabberd.cfg, right?).</p> Sat, 10 Sep 2005 07:22:29 +0000 mfoss comment 781 at https://www.ejabberd.im