ejabberd - Comments for "Get contact with the server (localy) in windows xp" https://www.ejabberd.im/node/1075 en Thanks for the great respons :) https://www.ejabberd.im/node/1075#comment-2321 <div class="quote-msg"> <div class="quote-author"><em>badlop</em> wrote:</div> <p>I guess the '{5280...' line is inside the 'listen' section, right?</p> <p>yes :) </p></div> <p>Thanks alot for the great respons :) </p> <p>I've installed R10 now, but i still can't connect to the server..</p> <p>I've tried with both hostname and ip, but it disconnects within 1 sec :-/<br /> The clients i've tried is Pandition, Exodus, Trillian and now Psi.</p> <p>In Psi i can manually specify server host/port. i've used port 5222. 127.0.0.1 and example.com as host name, but wont stay connected to the server. </p> <p>=INFO REPORT==== 25-Sep-2006::09:46:40 ===<br /> I(&lt;0.306.0&gt;:ejabberd_listener:90): (#Port&lt;0.352&gt;) Accepted connection {{127,0,0,1},1599} -&gt; {{127,0,0,1},5222}</p> <p>I dunno if im doing somethn totaly wrong, but this shouldnt be that hard &gt;&lt;<br /> All i need it that password to log on the web-admin.</p> <p>Creating an account should absolutly been part of the installation process of the server.. Atleast an option.</p> <p>I've read that its possible to create password with the new beta version?<br /> I hope someone has experienced the same as me, and got an answer how to fix it.</p> <p>Veritas</p> Mon, 25 Sep 2006 07:55:50 +0000 Veritas comment 2321 at https://www.ejabberd.im Veritas wrote: Just to https://www.ejabberd.im/node/1075#comment-2303 <div class="quote-msg"> <div class="quote-author"><em>Veritas</em> wrote:</div> <p>Just to clear things up, i've downloaded and installed both Erlang (source + pre-compiled) and OpenSSL.</p></div> <p>Source Erlang? On Windows you just need to install the precompiled Erlang.</p> <div class="quote-msg"> <div class="quote-author"><em>Veritas</em> wrote:</div> <p>I've also istalled the server application, ejabberd-1.1.1-windows (released 2006-04-28).</p> <p>Now, first of all, is there a problem to use Erlang R11B-1?</p></div> <p>Yes, there's a problem, since the installer of ejabberd 1.1.1 was compiled with Erlang R10B-10. Please uninstall R11 and install R10.</p> <div class="quote-msg"> <div class="quote-author"><em>Veritas</em> wrote:</div> <p>I've modified the configfile, as u can c below,</p> <p>{acl, admin, {user, "xxx", "example.com"}}. &lt;-- creates a user with name xxx<br /> {hosts, ["example.com"]}. &lt;-- hostname<br /> {5280, ejabberd_http, [http_poll, web_admin]} &lt;-- enables the web_admin</p></div> <p>I guess the '{5280...' line is inside the 'listen' section, right?</p> <div class="quote-msg"> <div class="quote-author"><em>Veritas</em> wrote:</div> <p>First of all, shouldnt i just use {acl, admin, {user, "xxx"}}. and {hosts, ["localhost"]}. when im gonna use it local on my comp?</p> <p>When i try to connect to the web-admin, i use <noindex><a href="http://localhost:5082/admin" title="http://localhost:5082/admin" rel="nofollow" >http://localhost:5082/admin</a></noindex><br /> and get the username/passwd window. In this window, should i use <noindex><a href="mailto:xxx@example.com" rel="nofollow" >xxx@example.com</a></noindex> or just xxx@localhost?</p> <p>Now there shoule be a user with admin-rights.</p> <p>I now need to set a password to the user-account. I do this with a jabber-client? I've installed Pandion, but when i'm trying to make a new account, with the username i specified in the configfile, i get no connection with the server (using example.com also tried localhost).</p> <p>What do i have to do to set that password?</p></div> <p>Several things you must know:</p> <ol> <li>{user, "xxx"} allows any user with JID xxx@* to be admin: bad idea. Instead, with {user, "xxx", "yyy"} only the user with JID xxx@yyy will be admin. </li><li>Whatever you put on ejabberd.cfg does not create accounts at all, it just gives privileges. You must create the account xxx@yyy using a Jabber client (for example). Note that xxx@yyy is a Jabber account, with admin rights. </li><li>When the web asks username and password, put xxx@yyy and the password you specified when creating the account. </li><li>'hostname' specifies the Jabber server name: jabber.org, example.com or whatever, not necessarily the name of your machine. In my example, yyy. </li><li>If a Jabber client can't connect to the Jabber server, check the ejabberd log files for ERROR or CRASH. Make sure the Jabber server is reachable. Some clients allow you to specify the IP address of the Jabber server. For example, if you set hostname to yyy, obviously Jabber clients will not find the server, but you can tell the client to connect using the address 127.0.0.1. </li></ol> <div class="quote-msg"> <div class="quote-author"><em>Veritas</em> wrote:</div> <p>ejabberdctl isnt available in windows, is it? I dont find such a command, so i cant set the password that way.</p></div> <p>It isn't, and you don't need it at all to get ejabberd working.</p> Fri, 22 Sep 2006 17:39:06 +0000 mfoss comment 2303 at https://www.ejabberd.im