Reputation: 235
I have installed XAMPP 1.8.1 on my machine, and I am able to connect to both the service, and phpmyadmin. Then I tried to change the security, but I faced the issue:
"The MySQL server is not running or is blocked by a firewall! Please check this problem first..."
Upvotes: 3
Views: 10121
Reputation: 17930
If the port is blocked by a firewall you can try adding a Port or Program exception to Windows Firewall Defender as follows:
To add a "Port Exception":
Start -> Run
and type firewall.cpl
.Start -> Control Panel -> Windows Defender Firewall
Key in an appropriate (non-conflicting) port number.
The default port for MySQL is 3306
, Apache is 80
, and Skype is 443
. You'll need to choose something different.
Check this list to choose a port number that won't conflict with another program or service running on your computer.
https://en.wikipedia.org/wiki/List_of_TCP_and_UDP_port_numbers.
Click Next.
To add a "Program Exception":
Start -> Run
and type firewall.cpl
.Start -> Control Panel -> Windows Defender Firewall
.exe
file resides Upvotes: 4
Reputation: 8348
I am pretty sure you are using skype so your port for xampp is blocked.
and you are good to go.
*Maybe you will need a computer restart after you finish all this.
Upvotes: 0