Your comments

I solved this problem. Ajenti used public ip adress, i changed it to private in /etc/ajenti/config.json 

"host": "172.31.xx.xxx",