ejabberd - Comments for "web interface times out." https://www.ejabberd.im/node/1656 en Try using SSH Tunneling https://www.ejabberd.im/node/1656#comment-30486 <div class="quote-msg"> <div class="quote-author"><em>johnsamuel</em> wrote:</div> <p>I changed the port for an open one and I can access the admin console now. Its a work around, but I'm not if I'm creating a rod for my own back.</p></div> <p>Another solution is to put it back in the old port, and use SSH Tunneling to access that port from your home computer. For example, if your server machine is machine1, and your home machine is machine2, and the port you want to access is 5280, and you are in machine2 with a web browser:</p> <ol> <li>Execute in machine2:<br /> <pre>ssh machine1 -L 5280:machine1:5280</pre></li><li>This SSH connection does not only allow you to execute commands in machine1, it also created a tunnel, let's see how to traverse that tunnel. </li><li>In machine2, open in your web browser this page: <noindex><a href="http://localhost:5280/admin" title="http://localhost:5280/admin" rel="nofollow" >http://localhost:5280/admin</a></noindex> </li><li>If everything works ok, SSH will send this request to machine1, ejabberd will serve it, SSH will send back the response, and your browser will show it to you. Note that to login in the webinterface you need to put the Jabber account and password of an existing Jabber account with admin privileges. </li></ol> <div class="quote-msg"> <div class="quote-author"><em>johnsamuel</em> wrote:</div> <p>I'm gonna assume other ports for XMPP coms are being blocked too. Would the hosting company have any justification in blocking these ports or am I going to have create more work arounds?</p></div> <p>The hosters probably block for security reasons all the ports that you don't explicitly request to be open.</p> <p>A Jabber server requires port 5222 for client connections and 5269 for server connections, they are standard, and defined in <noindex><a href="http://www.xmpp.org/" rel="nofollow" >XMPP</a></noindex> RFCs. If your hoster allows you to install servers, they probably will open those two ports if you request it.</p> <p>All the other ports used by ejabberd (5280, 5223,...) aren't standard nowadays, and there is no need to open them to Internet. Using SSH Tunneling, you can access 5280 without opening it to Internet.</p> Mon, 23 Jul 2007 08:19:52 +0000 mfoss comment 30486 at https://www.ejabberd.im Fixed https://www.ejabberd.im/node/1656#comment-30469 <p>Jabber newbie</p> <p>Thanks Badlop for the response. You are right I emailed the hosting company yesterday guessing on a hunch they were blocking the port. I got a response that they were was infact blocking this port. </p> <p>I changed the port for an open one and I can access the admin console now. Its a work around, but I'm not if I'm creating a rod for my own back.</p> <p>I haven't been able to register any users yet so I'm gonna assume other ports for XMPP coms are being blocked too. Would the hosting company have any justification in blocking these ports or am I going to have create more work arounds?</p> <p>regards</p> <p>John</p> Sun, 22 Jul 2007 08:32:45 +0000 johnsamuel comment 30469 at https://www.ejabberd.im Check what does your https://www.ejabberd.im/node/1656#comment-30468 <p>Check what does your ejabberd.cfg say. If it has something like this:</p> <pre>{hosts, ["example.org"]}. {listen, [ ... {5280, ejabberd_http, [http_poll, web_admin]}, ... ] }.</pre><p> Then the URL of the admin is: <noindex><a href="http://example.org:5280/admin/" title="http://example.org:5280/admin/" rel="nofollow" >http://example.org:5280/admin/</a></noindex></p> <p>Maybe you can't access the page because the port 5280 is blocked by a firewall in your server machine. Try to access this page with a browser in the own server machine (if the server does not have graphics, you can use text browsers like lynx, links or w3m).</p> Sun, 22 Jul 2007 08:13:49 +0000 mfoss comment 30468 at https://www.ejabberd.im