![](/img/trans.png)
[英]Windows 8 can not access the site of wamp from other computer on local network
[英]Access Virtual WAMP Server on Local Network
我有一台服务器,其中有一台运行WAMP Server的虚拟机。 我可以在虚拟机外部的物理服务器上访问wampserver的“站点”。 但是,我想从与物理服务器位于同一网络上的另一台PC访问它。
虚拟机IP为:192.168.189.128
物理服务器ip为:172.16.0.164
尝试这个:
Edit: your httpd.conf file ( use the menus to get to the correct file )
寻找这个
# onlineoffline tag - don't remove
之后添加新行
Allow from ......
像这样
Allow from 172.16.0.241
或者,如果您希望能够从整个子网看到wampserver
Allow from 172.16.0
简单的配置更改即可通过LAN进行Wamp访问
C:\\wamp\\bin\\apache\\apache2.2.22\\conf\\httpd.conf
在每行第243、281、393行添加“全部允许”,如果发现任何“拒绝”一词,请替换为“允许”,并在“允许127.0.0.1”下添加“全部允许”。
如果发现
C:\\wamp\\alias\\phpmyadmin.conf
将“所有人拒绝”替换为“所有人允许”
单击托盘图标,重新启动Wamp并使其联机,然后确定它可以工作。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.