<html><body bgcolor="#FFFFFF"><div>Neither are listening yet you can connect to one if them? That doesn't sound right?<br><br>Steve on iPhone</div><div><br>On 13 Jan 2011, at 03:16, Sam &lt;<a href="mailto:u2nsam@gmail.com">u2nsam@gmail.com</a>&gt; wrote:<br><br></div><div></div><blockquote type="cite"><div>Yes the netstat shows the ports 8081 &amp; 8082 not used <br>Justin, as said earlier i have 2 FS instances running on same server and having below config:-<br>for<br>&gt; 192.168.2.1:-<br>&gt; 
              &nbsp;&nbsp; &lt;param name="listen-ip" 
              value="127.0.0.1"/&gt;<br>&gt; &nbsp; &nbsp;&lt;param 
              name="listen-port" value="8021"/&gt;<br>&gt; for<br>&gt; 
              192.168.2.2:-<br>&gt; &nbsp;&nbsp; &lt;param name="listen-ip" 
              value="127.0.0.1"/&gt;<br>&gt; &nbsp; &nbsp;&lt;param 
              name="listen-port" value="8022"/&gt;<br><br>Here I tried all the permutation combination changing the IP port but no sucess.<br><br>Regds<br>Sam<br><br><div class="gmail_quote">On Wed, Jan 12, 2011 at 11:25 PM, JRichey <span dir="ltr">&lt;<a href="mailto:jrichey@itltd.net"><a href="mailto:jrichey@itltd.net">jrichey@itltd.net</a></a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">





<div>
<div><font color="#0000ff" face="Arial" size="2"><span>Did 
you ever try&nbsp;using netstat like Steven suggested?&nbsp; What do you get as 
output for "netstat -tunlp"?</span></font></div>
<div><font color="#0000ff" face="Arial" size="2"><span></span></font>&nbsp;</div>
<div><font color="#0000ff" face="Arial" size="2"><span>In one 
of your commands below you show 127.0.0.2 instead of 127.0.0.1 so if that's not 
a typo you may want to try it again.</span></font></div>
<div><font color="#0000ff" face="Arial" size="2"><span></span></font>&nbsp;</div>
<div><font color="#0000ff" face="Arial" size="2"><span>-Justin</span></font></div><div><div></div><div class="h5">
<div><font color="#0000ff" face="Arial" size="2"><span></span></font>&nbsp;</div>
<blockquote>
  <div dir="ltr" align="left"><font face="Tahoma" size="2">-----Original Message-----<br><b>From:</b> 
  <a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank"><a href="mailto:freeswitch-users-bounces@lists.freeswitch.org">freeswitch-users-bounces@lists.freeswitch.org</a></a> 
  [mailto:<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank"><a href="mailto:freeswitch-users-bounces@lists.freeswitch.org">freeswitch-users-bounces@lists.freeswitch.org</a></a>]<b>On Behalf Of 
  </b>Sam<br><b>Sent:</b> Tuesday, January 11, 2011 9:27 PM<br><b>To:</b> 
  FreeSWITCH Users Help<br><b>Subject:</b> Re: [Freeswitch-users] 
  console<br><br></font></div>Tried this below and received :-<br><br><br># 
  /usr/local/fs_2/bin/fs_cli -H 127.0.0.2 -P 8082<br>[ERROR] 
  libs/esl/fs_cli.c:1206 main() Error Connecting [Socket Connection 
  Error]<br><br>tried by creating profile:-<br># /usr/local/fs_2/bin/fs_cli 
  profile1<br>[ERROR] libs/esl/fs_cli.c:1206 main() Error Connecting [Socket 
  Connection Error]<br><br>By port:<br># /usr/local/fs_2/bin/fs_cli -P 
  8082<br>[ERROR] libs/esl/fs_cli.c:1206 main() Error Connecting [Socket 
  Connection Error]<br><br><br><span style="text-transform: none; text-indent: 0px; border-collapse: separate; font: medium 'Times New Roman'; white-space: normal; letter-spacing: normal; color: rgb(0, 0, 0); word-spacing: 0px;"><pre><i>netstat -nlp | grep ; ports 8081 &amp; 8082 are available</i></pre></span>But 
  i could get a console for other server by<br># 
  /usr/local/fs_2/bin/fs_cli<br><br>Regards<br>Sam<br><br><br>
  <div class="gmail_quote">On Tue, Jan 11, 2011 at 10:54 PM, Steven Ayre <span dir="ltr">&lt;<a href="mailto:steveayre@gmail.com" target="_blank"><a href="mailto:steveayre@gmail.com">steveayre@gmail.com</a></a>&gt;</span> 
wrote:<br>
  <blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">Actually, correction it does - just not the 
    event_socket.conf.xml one. It'll read .fs_cli_conf in your home directory if 
    it exists, but that isn't created by default - you create it yourself if you 
    want to use it (it's optional). The command line arguments -H and -P -will- 
    override the config file though.<br><br>Are you using a capital P? -p is 
    password while -P is port. If there's no password on the event socket you'd 
    get no error from using a small p by accident.<br><br>-Steve
    <div>
    <div></div>
    <div><br><br><br><br><br><br>
    <div class="gmail_quote">On 11 January 2011 16:59, Steven Ayre <span dir="ltr">&lt;<a href="mailto:steveayre@gmail.com" target="_blank"><a href="mailto:steveayre@gmail.com">steveayre@gmail.com</a></a>&gt;</span> wrote:<br>
    <blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">It does not read any config file.
      <div>
      <div></div>
      <div><br><br><br><br><br>
      <div class="gmail_quote">On 11 January 2011 16:56, Sam <span dir="ltr">&lt;<a href="mailto:u2nsam@gmail.com" target="_blank"><a href="mailto:u2nsam@gmail.com">u2nsam@gmail.com</a></a>&gt;</span> wrote:<br>
      <blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">the port and ip donot work for me,<br>is it that the 
        fs_cli is not reading the config from 192.168.2.2 but it is reading the 
        config only of 192.168.2.1, though its in the different [FS_1 &amp; 
        FS_2] path where i am executing.<br><br>Regds<br><font color="#888888">Sam</font>
        <div>
        <div></div>
        <div><br><br><br>
        <div class="gmail_quote">On Tue, Jan 11, 2011 at 9:38 PM, Steven Ayre 
        <span dir="ltr">&lt;<a href="mailto:steveayre@gmail.com" target="_blank"><a href="mailto:steveayre@gmail.com">steveayre@gmail.com</a></a>&gt;</span> wrote:<br>
        <blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">/usr/local/FS_1/bin/fs_cli -P 
          8021<br>/usr/local/FS_2/bin/fs_cli -P 8022<br><br>fs_cll doesn't read 
          any config file. It's not part of the FS server at all, you can have 
          it on a different machine that doesn't have FS installed. It entirely 
          relies on the arguments to control where to connect to.<br><br>-Steve
          <div>
          <div></div>
          <div><br><br><br>
          <div class="gmail_quote">On 11 January 2011 15:04, Sam <span dir="ltr">&lt;<a href="mailto:u2nsam@gmail.com" target="_blank"><a href="mailto:u2nsam@gmail.com">u2nsam@gmail.com</a></a>&gt;</span> wrote:<br>
          <blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">Something more here ... i am getting the console 
            for 192.168.2.1 every time i do fs_cli on both instances 
            .<br><br>like 
            <br>/usr/local/FS_1/bin/fs_cli<br>/usr/localFS_2/bin/fs_cli<br>i get 
            the console for the 1st server only<br><br>the 2 server are listing 
            to 2 different ips .<br><br>Regds<br><font color="#888888">Sam</font>
            <div>
            <div></div>
            <div><br><br>
            <div class="gmail_quote">On Tue, Jan 11, 2011 at 8:07 PM, Steven Ayre 
            <span dir="ltr">&lt;<a href="mailto:steveayre@gmail.com" target="_blank"><a href="mailto:steveayre@gmail.com">steveayre@gmail.com</a></a>&gt;</span> wrote:<br>
            <blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">It should work. Is there anything already 
              listening on port 8022?<br><br>$ netstat -a -n -p | grep 
              8022<br><br>Are you also sure that they're not both loading the 
              same config file?<br><br>Regards,<br>-Steve<br>
              <div>
              <div></div>
              <div><br><br><br>On 11 January 2011 14:32, Sam &lt;<a href="mailto:u2nsam@gmail.com" target="_blank"><a href="mailto:u2nsam@gmail.com">u2nsam@gmail.com</a></a>&gt; wrote:<br>&gt; the scenario 
              is i have 2 ips on 1 server for 2 FS instances;<br>&gt;<br>&gt; 
              192.168.2.1<br>&gt; 192.168.2.2<br>&gt;<br>&gt; and the parameters 
              i have set is:-<br>&gt;<br>&gt; for<br>&gt; 192.168.2.1:-<br>&gt; 
              &nbsp;&nbsp; &lt;param name="listen-ip" 
              value="127.0.0.1"/&gt;<br>&gt; &nbsp; &nbsp;&lt;param 
              name="listen-port" value="8021"/&gt;<br>&gt; for<br>&gt; 
              192.168.2.2:-<br>&gt; &nbsp;&nbsp; &lt;param name="listen-ip" 
              value="127.0.0.1"/&gt;<br>&gt; &nbsp; &nbsp;&lt;param 
              name="listen-port" value="8022"/&gt;<br>&gt;<br>&gt; Ideally it 
              should work&nbsp; but i am getting console for only 192.168.2.1 FS 
              .<br>&gt;<br>&gt;<br>&gt; Regards<br>&gt; Sam<br>&gt;<br>&gt; On 
              Tue, Jan 11, 2011 at 4:20 PM, Steven Ayre &lt;<a href="mailto:steveayre@gmail.com" target="_blank"><a href="mailto:steveayre@gmail.com">steveayre@gmail.com</a></a>&gt; 
              wrote:<br>&gt;&gt;<br>&gt;&gt; &nbsp; &nbsp;&lt;param 
              name="listen-ip" value="127.0.0.1"/&gt;<br>&gt;&gt; &nbsp; 
              &nbsp;&lt;param name="listen-port" 
              value="8021"/&gt;<br>&gt;&gt;<br>&gt;&gt; You can bind both to 
              port 8021 on their individual IPs, or different<br>&gt;&gt; ports 
              on the same IP.<br>&gt;&gt;<br>&gt;&gt; A listen IP of 0.0.0.0 
              will mean any IP.<br>&gt;&gt;<br>&gt;&gt; 
              -Steve<br>&gt;&gt;<br>&gt;&gt; On 11 January 2011 10:44, Sam 
              &lt;<a href="mailto:u2nsam@gmail.com" target="_blank"><a href="mailto:u2nsam@gmail.com">u2nsam@gmail.com</a></a>&gt; wrote:<br>&gt;&gt; &gt; A 
              query,<br>&gt;&gt; &gt;<br>&gt;&gt; &gt; I have 2 FS running on 
              one server on 2 different ips,<br>&gt;&gt; &gt; so when i do 
              fs_cli going to respective bins , i see console of only 
              the<br>&gt;&gt; &gt; first server.<br>&gt;&gt; &gt;<br>&gt;&gt; 
              &gt; Is there any way to get the console of both the FS on the 
              same server .<br>&gt;&gt; &gt; I tried changing the port of event 
              socket to 8022 but it donot works.<br>&gt;&gt; &gt; &lt;param 
              name="listen-port" value="8022"/&gt;<br>&gt;&gt; &gt;<br>&gt;&gt; 
              &gt; Is there some method to start the console of both the 
              instances.<br>&gt;&gt; &gt;<br>&gt;&gt; &gt; Regds<br>&gt;&gt; 
              &gt; Sam<br>&gt;&gt; &gt;<br>&gt;&gt; &gt; 
              _______________________________________________<br>&gt;&gt; &gt; 
              FreeSWITCH-users mailing list<br>&gt;&gt; &gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank"><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a></a><br>&gt;&gt; 
              &gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank"><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></a><br>&gt;&gt; 
              &gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank"><a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a></a><br>&gt;&gt; 
              &gt; <a href="http://www.freeswitch.org" target="_blank"><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></a><br>&gt;&gt; 
              &gt;<br>&gt;&gt; &gt;<br>&gt;&gt;<br>&gt;&gt; 
              _______________________________________________<br>&gt;&gt; 
              FreeSWITCH-users mailing list<br>&gt;&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank"><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a></a><br>&gt;&gt; 
              <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank"><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></a><br>&gt;&gt; 
              UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank"><a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a></a><br>&gt;&gt; 
              <a href="http://www.freeswitch.org" target="_blank"><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></a><br>&gt;<br>&gt;<br>&gt; 
              _______________________________________________<br>&gt; 
              FreeSWITCH-users mailing list<br>&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank"><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a></a><br>&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank"><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></a><br>
&gt; 
              UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank"><a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a></a><br>&gt; 
              <a href="http://www.freeswitch.org" target="_blank"><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></a><br>&gt;<br>&gt;<br><br>_______________________________________________<br>FreeSWITCH-users 
              mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank"><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a></a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank"><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank"><a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a></a><br><a href="http://www.freeswitch.org" target="_blank"><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></a><br>
</div></div></blockquote></div><br></div></div><br>_______________________________________________<br>FreeSWITCH-users 
            mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank"><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a></a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank"><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank"><a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a></a><br><a href="http://www.freeswitch.org" target="_blank"><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></a><br>
<br></blockquote></div><br></div></div><br>_______________________________________________<br>FreeSWITCH-users 
          mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank"><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a></a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank"><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank"><a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a></a><br><a href="http://www.freeswitch.org" target="_blank"><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></a><br>
<br></blockquote></div><br></div></div><br>_______________________________________________<br>FreeSWITCH-users 
        mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank"><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a></a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank"><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank"><a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a></a><br><a href="http://www.freeswitch.org" target="_blank"><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></a><br>
<br></blockquote></div><br></div></div></blockquote></div><br></div></div><br>_______________________________________________<br>FreeSWITCH-users 
    mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank"><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a></a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank"><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank"><a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a></a><br><a href="http://www.freeswitch.org" target="_blank"><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></a><br>
<br></blockquote></div><br></blockquote></div></div></div>
<br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org"><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a></a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank"><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank"><a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a></a><br>
<a href="http://www.freeswitch.org" target="_blank"><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></a><br>
<br></blockquote></div><br>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>FreeSWITCH-users mailing list</span><br><span><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a></span><br><span><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></span><br><span>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users</span><br><span><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></span><br></div></blockquote></body></html>