Yunohost API not responding, also cannot connect through ssh in server

After installing the Yunohost I connected both from my browser in the API (from local network through ip) and using ssh with PuTTY. Now I cannot access it using any of the above ways. The API error says that it is not responding. The ssh connection times out. Server is running. What can the error cause be?