freePbx notworking after fully booted

hi.
i working with freepbx and when i want to connect to it from nodeJs client server seems turned off silently.
when i restart freePbx it’s working during boot and i can show GUI in chrome but when boot complete it don’t work again.

this is last lines of log:

2017-Nov-07 13:09:03] [INFO] (restapps/restapps.php:86) - Finished running BLF Init Functions
[2017-Nov-07 13:09:03] [INFO] (restapps/restapps.php:88) - RestApps is now ready to use!
[2017-Nov-07 13:10:10] [WARNING] (libraries/modulefunctions.legacy.php:7) - Depreciated Function module_getinfo detected in /var/www/html/admin/modules/cxpanel/functions.inc.php on line 58
[2017-Nov-07 13:10:10] [WARNING] (libraries/modulefunctions.legacy.php:7) - Depreciated Function module_getinfo detected in /var/www/html/admin/modules/cxpanel/functions.inc.php on line 67
[2017-Nov-07 13:10:19] [CRITICAL] (admin/bootstrap.php:270) - Connection attmempt to AMI failed
[2017-Nov-07 13:10:19] [WARNING] (libraries/modulefunctions.legacy.php:7) - Depreciated Function module_getinfo detected in /var/www/html/admin/modules/cxpanel/functions.inc.php on line 58
[2017-Nov-07 13:10:19] [WARNING] (libraries/modulefunctions.legacy.php:7) - Depreciated Function module_getinfo detected in /var/www/html/admin/modules/cxpanel/functions.inc.php