EasyApache Error -Timeout on connect..Can’t use an undefined value as an ARRAY reference at /usr/local/cpanel/Cpanel/HttpRequest.pm line 550.
Recently i had following error while re-compiling apache server from cPanel/WHM. I googled the issue and found some good solutions however i did it by my own way, I just followed the following below steps:
- Login to SSH by root details.
- open the file /etc/hosts by:
- $ nano /etc/hosts
- Change the contents of that file as follow:
::1 localhost.localdomain localhost
127.0.0.1 localhost.localdomain localhost
IPaddress of your server server.yourdomain.com server
and you ‘re done, now your hosts file seems to be configured correctly.