如何解决WampServer 3.2.3无法访问Lan网络,
我无法访问我的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分钟,然后停止。
任何人都可以帮忙,我还有其他事情要做吗?,谢谢!
解决方法
我找到了解决方案,而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
这有效,但是很奇怪,因为我不必对早期版本进行这些步骤 希望对其他有同样问题的人有帮助
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。