I am getting below error when i try to fs_cli


freeswitch version :  FreeSWITCH Version 1.1.beta1 (git-c41a16d 2012-04-05 14-28-01 -0500)



[root@localhost freeswitch]# ./fs_cli

[ERROR] fs_cli.c:1320 main() Error Connecting [Socket Connection Error]
Usage: ./fs_cli [-H <host>] [-P <port>] [-p <secret>] [-d <level>] [-x command] [-t <timeout_ms>] [profile]

  -?,-h --help                    Usage Information
  -H, --host=hostname             Host to connect
  -P, --port=port                 Port to connect (1 - 65535)
  -u, --user=user@domain          user@domain
  -p, --password=password         Password
  -i, --interrupt                 Allow Control-c to interrupt
  -x, --execute=command           Execute Command and Exit
  -l, --loglevel=command          Log Level
  -q, --quiet                     Disable logging
  -r, --retry                     Retry connection on failure
  -R, --reconnect                 Reconnect if disconnected
  -d, --debug=level               Debug Level (0 - 7)
  -t, --timeout                   Timeout for API commands (in miliseconds)