"No connection could be made because the target machine actively refused it" I ran a test "mysql.exe -u root -p" and it shows mysql to be working. I ran the socket test and it shows port 80 to be working but when I use port 8080 it returns the above error message. So I set mysql.default_port =80 in php.ini. The response was the page was loading very slowly and not completing the load. Any ideas how to fix the error message?