Files to check
- /etc/apache2/ports.conf
- /etc/apache2/apache2.conf
Consider the ServerName to be "myserver". Check /etc/hosts for an entry
127.0.0.1 localhost
192.168.1.100 myserver.com myserver
...
(more…)
Reason why this error might occur:
i) Incomplete MySQL implementation
ii) MySQL setting mis-configuration
Solution:root@myserver:/# vi /etc/mysql/my.cnf
Comment out the below line in my.cnf file to make MySQL listen on ALL interfaces
#bind-address = 127.0.0.1
root@myserver:/# netstat -tap | grep mysql
tcp 0 0 *:mysql *:* LISTEN 17785/mysqld
Note that above line which indicates MySQL listening on all interfaces.