【问题标题】:I put wampserver 3.0.6 online but not reachable from 2nd PC我将 wampserver 3.0.6 联机但无法从第二台 PC 访问
【发布时间】:2018-03-14 13:53:10
【问题描述】:

我已经put WampServer 3.0.6 online,更新了我的http-vhosts.conf:

<VirtualHost *:80>
    ServerName www.comparetherapies.dev
    ServerAlias www.comparetherapies.dev
    DocumentRoot C:/Users/steve/Dropbox/WAMP/WWW/comparetherapies
    <Directory  "C:/Users/steve/Dropbox/WAMP/WWW/comparetherapies">
        Options +Indexes +Includes +FollowSymLinks +MultiViews
        AllowOverride All
        Require all granted
    </Directory>
</VirtualHost>

并在第二台 PC 的 hosts 文件中添加一行:

10.0.0.14 www.comparetherapies.dev

其中10.0.0.14 是第一台装有 WampServer 的 PC 的 IP。

但是,当我尝试在第二台电脑的浏览器中加载 www.comparetherapies.dev 时,我收到了 connection timed out 错误。

帮助表示赞赏。

【问题讨论】:

    标签: wampserver


    【解决方案1】:

    我查看了第一台 PC 的 Windows 防火墙,发现没有规则允许 Apache 通过防火墙。

    在第一台 PC 上为 c:\wamp\bin\apache\apache2.4.23\bin\httpd.exe 添加 Windows 防火墙例外(私人和公共)允许我从第二台 PC 上查看网站。

    【讨论】:

      猜你喜欢
      • 2017-11-21
      • 1970-01-01
      • 2015-02-04
      • 2019-06-15
      • 2012-09-27
      • 1970-01-01
      • 2012-07-19
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多