[英]Can't access my xampp server remotely
我無法遠程訪問我的 xampp 服務器。 我在 httpd-xampp.txt 的Allow from all
行中添加了Allow from all
,現在看起來像:
# 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 地址而不是 localhost (127.0.0.0)。
如果您在防火牆后面,則需要允許端口 80 的傳入連接,也可能是 mysql 端口(如果您打算使用刪除 SQL 管理軟件)。
很可能您還需要配置您的路由器(如果您有),將所有傳入連接從 80 端口路由到您的 Web 服務器子網地址。
在你的 httpd.conf 中試試這個:
<Directory "/[path to your]/htdocs">
Options Indexes FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
你的問題是你的防火牆。 請禁用防火牆並重新檢查
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.