【发布时间】:2017-01-11 14:25:14
【问题描述】:
我安装了WAMP 服务器并运行了应用程序。任务栏中的图标保持橙色并显示“local server - 1 of 2 services running”。另外,我可以在浏览器中看到phpMyAdmin 页面,但是当我尝试登录时,它会出现以下错误:
#2002 - No connection could be made because the target machine actively refused it. <br />The server is not responding (or the local server's socket is not correctly configured).
我已经测试了 80 端口,我得到了这个响应:
***** Test which uses port 80 *****
===== Tested by command netstat filtered on port 80 =====
Test for TCP
Your port 80 is used by a processus with PID = 6612
The processus of PID 6612 is 'httpd.exe' Session: Services
The service of PID 6612 for 'httpd.exe' is 'wampapache64'
This service is from Wampserver - It is correct
Test for TCPv6
Your port 80 is used by a processus with PID = 6612
The processus of PID 6612 is 'httpd.exe' Session: Services
The service of PID 6612 for 'httpd.exe' is 'wampapache64'
This service is from Wampserver - It is correct
===== Tested by attempting to open a socket on port 80 =====
Your port 80 is actually used by :
Server: Apache/2.4.18 (Win64) PHP/5.6.19
我相信上面的结果说明端口没有问题。我什至尝试更改端口,但仍然给出相同的状态 - 橙色图标。
注意 - 当安装 WAMP 后显示来自 Windows 防火墙的提示时,我没有授予对私有网络和公共网络的访问权限,即我未选中这两个选项。
请帮助我在本地服务器上运行这两个服务。
谢谢!
【问题讨论】:
-
您的 MYSQL 服务
wampmysqld或wampmysqld64似乎没有启动。在 mysql 错误日志或 Windows 事件查看器中查看错误消息
标签: wamp