the issue was that i was only running fs_cli on my machine without running freeswitch. fs_cli works only when freeswitch is running in background.
 thank you
Ashish Mishra


On Tue, Aug 13, 2013 at 1:47 PM, Steven Ayre <steveayre@gmail.com> wrote:
What was the issue?


On 13 August 2013 08:16, Ashish Mishra <itsme.kunnu@gmail.com> wrote:

Thank you for your reply...i am now able to run fs_cli on my ubuntu machine on which freeswitch is installed...:-)

On Aug 13, 2013 3:17 AM, "I put the Who? in Mishehu" <mishehu@freeswitch.org> wrote:
I have the nagging feeling that Ashish isn't telling the whole story here...

Ashish -  what happens if you are on the machine that is running FreeSWITCH and you execute `telnet localhost 8021` ?  Do you see something like this:

# telnet localhost 8021
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Content-Type: auth/request

If you are running with the standard configurations this should work in this fashion.  If you have changed the conf/autoload_configs/event_socket.conf.xml , then paste those configurations.  (If too lengthy, please post to http://pastebin.freeswitch.org )

-Yossi

On 08/12/2013 09:44 AM, Steven Ayre wrote:
Have you checked the logfile and netstat?


On 12 August 2013 09:51, Ashish Mishra <itsme.kunnu@gmail.com> wrote:

I reinstalled freeswitch but still i am getting the same error :
fs_cli .c:1455 main() Error Connecting [Socket Connection Error ] mod_socket is also loaded...i have also flushed the firewall rules...pls help

On Aug 6, 2013 2:30 AM, "Ashish Mishra" <itsme.kunnu@gmail.com> wrote:

When i am trying to launch fs_cli on my ubuntu 12.04 machine (on which i have installed freeswitch) it gives me the following error :
fs_cli .c:1455 main() Error Connecting [Socket Connection Error ]


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

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




_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

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


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

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


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

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



_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

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