无法访问 wamp 服务器中的 localhost

无法访问 wamp 服务器中的 localhost

我的 wamp 服务器运行正常,但速度很慢,所以我在 Google 上搜索了一些解决方案。点击此链接 -WAMP 运行非常慢

我运行了一些命令,但不明白其含义。WAMP 运行非常慢

netsh winsock reset
netsh int ip reset C:\resetlog.txt

重新启动机器后,wamp 服务器似乎在系统托盘中运行良好(绿色图标),但在浏览器中我无法访问本地主机或任​​何东西。(一段时间后就会超时)

在检查端口 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 = 11360
The processus of PID 11360 is 'httpd.exe' Session: Services
The service of PID 11360 for 'httpd.exe' is 'wampapache'
This service is from Wampserver - It is correct
Port 80 is not found associated with TCP protocol

===== Tested by attempting to open a socket on port 80 =====

Your port 80 is not actually used.

好的,wampmenu 显示一个错误 - 您的虚拟主机。当我单击它时,我得到:

Sorry,

出现错误。在httpd-vhosts.conf文件中:

    The number of

            <VirtualHost ...>
    is not equal to the number of

            ServerName

它们应该是相同的。

    Correct syntax is: <VirtualHost *:80>

切换已取消

按 ENTER 继续...

更新:我在 Apache 错误日志中收到一些日志:

[Sat Feb 18 23:22:10.221512 2017] [mpm_winnt:notice] [pid 7244:tid 548] AH00422: Parent: Received shutdown signal -- Shutting down the server.
[Sat Feb 18 23:22:12.225007 2017] [mpm_winnt:notice] [pid 7872:tid 452] AH00364: Child: All worker threads have exited.
[Sat Feb 18 23:22:12.336354 2017] [mpm_winnt:notice] [pid 7244:tid 548] AH00430: Parent: Child process 7872 exited successfully.
[Sat Feb 18 23:22:14.369397 2017] [auth_digest:notice] [pid 7516:tid 556] AH01757: generating secret for digest authentication ...
[Sat Feb 18 23:22:14.451929 2017] [mpm_winnt:notice] [pid 7516:tid 556] AH00455: Apache/2.4.23 (Win32) PHP/5.6.25 configured -- resuming normal operations
[Sat Feb 18 23:22:14.451929 2017] [mpm_winnt:notice] [pid 7516:tid 556] AH00456: Apache Lounge VC14 Server built: Jul  1 2016 11:09:37
[Sat Feb 18 23:22:14.451929 2017] [core:notice] [pid 7516:tid 556] AH00094: Command line: 'e:\\wamp\\bin\\apache\\apache2.4.23\\bin\\httpd.exe -d E:/wamp/bin/apache/apache2.4.23'
[Sat Feb 18 23:22:14.456325 2017] [mpm_winnt:notice] [pid 7516:tid 556] AH00418: Parent: Created child process 1876
[Sat Feb 18 23:22:15.294839 2017] [auth_digest:notice] [pid 1876:tid 412] AH01757: generating secret for digest authentication ...
[Sat Feb 18 23:22:15.360767 2017] [mpm_winnt:notice] [pid 1876:tid 412] AH00354: Child: Starting 64 worker threads.

相关内容