WampServer 3.2.3 无法访问局域网,
WampServer 3.2.3 cant access Lan Network,
我无法访问我的 wampserver 机器,这是我的规格
windows 10
wampserver 3.2.3.3 64 位
阿帕奇 2.4.46
我已经编辑了这个文件“D:\Programs\wamp64\bin\apache\apache2.4.46\conf\extra\httpd-vhosts.conf”,
并将“Require local”替换为“Require all granted”,以下是文件中的完整文本
# 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
这可行,但很奇怪,因为我不必对 wamp 早期版本执行这些步骤
希望这对遇到同样问题的其他人有所帮助
我无法访问我的 wampserver 机器,这是我的规格 windows 10 wampserver 3.2.3.3 64 位 阿帕奇 2.4.46
我已经编辑了这个文件“D:\Programs\wamp64\bin\apache\apache2.4.46\conf\extra\httpd-vhosts.conf”, 并将“Require local”替换为“Require all granted”,以下是文件中的完整文本
# 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
这可行,但很奇怪,因为我不必对 wamp 早期版本执行这些步骤 希望这对遇到同样问题的其他人有所帮助