Please have a look on the pastepin link <https://pastebin.freeswitch.org/23750>


Issue is happening when mod_event_socket server is listening on 127.0.0.1 and fs_cli is executed from the same machine where freeswitch is running.

Issue is not coming when freeswitch and mod_event_socket server is listening on 192.168.1.1 and fs_cli is running 192.168.1.2 (some different machine on LAN)





-- 
regards,
akhil