我无法远程访问xampp服务器。我Allow from all
在httpd-xampp.txt中添加了一行,现在看起来像:
# New XAMPP security concept
#
<LocationMatch "^/(?i:(?:xampp|security|licenses|phpmyadmin|webalizer|server-status|server-info))">
Order deny,allow
Deny from all
Allow from ::1 127.0.0.0/8
Allow from all
ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var
</LocationMatch>
但是我仍然无法远程访问它。我的防火墙也关闭了。
您需要使用网络IP地址而不是本地主机(127.0.0.0)。
如果在防火墙后面,则需要允许端口80的传入连接,也可能允许mysql端口的传入连接(如果打算使用删除SQL管理软件)。
最有可能的是,您还需要配置路由器(如果有的话),以将所有传入连接从80端口路由到Web服务器子网地址。
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句