No connection could be made because the target machine actively refused it

LaurieC - Nov 25, 2019 at 12:54 AM
 LaurieC - Feb 27, 2020 at 06:03 PM
I program a small web site for my Golf Club
For years I have used VS.PHP 3.8 to write and test the PHP code on my home computer and have used WAMP and Notepad++ on a laptop in order to interact with a MySQL database.
Not following some Windows 10 updates I'm getting the above error message and despite several searches and attempts to modify the behaviour of Windows Firewall (which seems to be the vaguely understood cause of this problem) I cannot find away around this dilemma.

6 responses

Go to your database management console. Open up the security settings on the db. Give the web service that is running the web application on your web server permissions to connect login and read the db.