Hello, I am trying to connect to FS server via ESL from another computer on the LAN. ------------- eslConnection = new ESLconnection("10.25.20.202", "8021", "ClueCon"); if (eslConnection.Connected() != ESL_SUCCESS) { return "Fail"; } ------------- But I keep getting not connected. I checked firewall. I tried addressing FS computer by name/IP. Do I need to change anything in the FS config? Please share your views. Malay
you need to set listen-ip to 0.0.0.0 in event_socket.conf.xml On Wed, Feb 9, 2011 at 4:58 AM, Malay Thakershi <mthakershi@gmail.com>wrote:
Hello,
I am trying to connect to FS server via ESL from another computer on the LAN.
------------- eslConnection = new ESLconnection("10.25.20.202", "8021", "ClueCon");
if (eslConnection.Connected() != ESL_SUCCESS) { return "Fail"; } -------------
But I keep getting not connected.
I checked firewall. I tried addressing FS computer by name/IP.
Do I need to change anything in the FS config?
Please share your views.
Malay
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
As xuyan said, you need to change the listen-ip to 0.0.0.0. The default is to only listen on 127.0.0.1, which is good for security since the default password ClueCon is well known. When you change the listen-ip you really should change the default password too, otherwise anyone will not only get control of FS but also get full access to your server as the FS user (there's a system api command). -Steve On 9 February 2011 04:58, Malay Thakershi <mthakershi@gmail.com> wrote:
Hello,
I am trying to connect to FS server via ESL from another computer on the LAN.
------------- eslConnection = new ESLconnection("10.25.20.202", "8021", "ClueCon");
if (eslConnection.Connected() != ESL_SUCCESS) { return "Fail"; } -------------
But I keep getting not connected.
I checked firewall. I tried addressing FS computer by name/IP.
Do I need to change anything in the FS config?
Please share your views.
Malay
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (3)
-
Malay Thakershi
-
Steven Ayre
-
xuyan yang