【问题标题】:WampServer 3.2.3 cant access Lan Network,WampServer 3.2.3 无法访问局域网,
【发布时间】:2020-10-23 17:40:34
【问题描述】:

我无法访问我的 wampserver 机器,这是我的规范 窗户 10 wampserver 3.2.3.3 64位 阿帕奇 2.4.46

我已经编辑了这个文件 "D:\Programs\wamp64\bin\apache\apache2.4.46\conf\extra\httpd-vhosts.conf", 并将“要求本地”替换为“要求全部授予”,以下是文件中的完整文本

    # Virtual Hosts
    #
    <VirtualHost *:80>
      ServerName localhost
      ServerAlias localhost
      DocumentRoot "${INSTALL_DIR}/www"
      <Directory "${INSTALL_DIR}/www/">
        Options +Indexes +Includes +FollowSymLinks +MultiViews
        AllowOverride All
        Require all granted
      </Directory>
    </VirtualHost>

我已经重启了所有服务,但我无法从连接到同一网络的其他机器访问服务器

拥有wampserver的ip机器是“192.168.1.11”,所以在另一台电脑上我在浏览器中输入了ip“192.168.1.11”,一直加载大约4分钟就停止了。

有人可以帮忙吗,我还有什么需要做的吗?提前谢谢

【问题讨论】:

    标签: php apache http wampserver


    【解决方案1】:

    我找到了解决方案,而 Wampserver 不是问题所在。 问题是阻止网络访问的 Windows 10 防火墙。 所以这些是允许网络访问的步骤:

      1.- In windows 10 go to Menu "Firewall and network Protection"
      2.- click on "Allow an app through firewall" option, it opens a window with title "allowed apps"
      3.- Click on button "Change Settings" (You have to have administrator rights to do this)
      4.- Click on "Allow another app", and browse to your wamp installation and search for httpd.exe of apache, in my case "D:\Programs\wamp64\bin\apache\apache2.4.46\bin\httpd.exe", and click on button add "Add"
      5.- and in the columns "Private and Public", check the checkbox for "Public" column and last click on button "Ok" at the bottom of the window
      6.- Now you can access to Wampserver Homepage from another machine in the same network
    

    这可行,但很奇怪,因为我不必使用 wamp 早期版本执行这些步骤 希望这对其他有同样问题的人有所帮助

    【讨论】:

      猜你喜欢
      • 2014-01-07
      • 1970-01-01
      • 2013-10-04
      • 1970-01-01
      • 2011-05-20
      • 1970-01-01
      • 2012-09-27
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多