简体   繁体   English

无法通过同一网络从另一台PC访问xampp htdocs文件夹,但可以访问phpmyadmin

[英]Cannot access xampp htdocs folder from another PC over same network, but can access phpmyadmin

I have xampp installed on my PC. 我的电脑上安装了xampp。 I can access xampp dashboard and PHPmyadmin by entering 192.168.xx on another computer over same network. 我可以通过在同一网络的另一台计算机上输入192.168.xx来访问xampp仪表板和PHPmyadmin。 But when I type in 192.168.xx/folder_name/ where folder_name is folder in htdocs it redirects to localhost/foder_name hence showing object not found error. 但是,当我键入192.168.xx / folder_name /时 ,其中folder_name是htdocs中的文件夹,它将重定向到localhost / foder_name,因此显示未找到对象错误。

What is reason that it is redirecting to my ip to localhost on that computer? 它将我的IP重定向到该计算机上的localhost的原因是什么?

  1. check your firewall for any input with incoming on port 80 ( or for the test turn off firewall ) 检查防火墙是否有端口80输入的任何输入(或测试关闭防火墙)

  2. in xampp look for http.conf (configuraton file for apache) 在xampp中寻找http.conf(Apache的配置文件)

look for something like that : order deny,allow deny from all allow from 127.0.0.1 寻找类似的东西:从127.0.0.1开始,拒绝,允许全部拒绝

remove "deny from all" and reload apache 删除“全部拒绝”并重新加载apache

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 窗口7中的xampp无法访问C:/ xampp / htdocs中子文件夹中的文件 - xampp in window 7 cannot access files in subfolder inside C:/xampp/htdocs 如何在htdocs文件夹之外访问XAMPP mysql数据库 - How to access XAMPP mysql database outside of htdocs folder 无法访问xampp WINDOWS上的phpmyadmin错误 - Can't access to phpmyadmin error on xampp WINDOWS Ubuntu Xampp从其他PC访问localhost - Ubuntu Xampp access localhost from other pc 我想在同一网络中的智能手机上访问htdocs中的文件 - I want to access the files in htdocs on my smartphone inside the same network 身份验证问题 [访问 localhost 网站可以在 mac 上运行 - 但是,我无法从同一网络上的另一台设备访问]? - Authentication Issue [access to localhost website works on mac - however, I cannot access from another device on same network]? 我无法访问XAMPP phpMyAdmin; 它说:错误MySQL说:文档无法连接:无效的设置 - I can't access XAMPP phpMyAdmin; it says: Error MySQL said: Documentation Cannot connect: invalid settings 错误404。 Xampp htdocs在本地访问中出现问题 - Error 404 . xampp htdocs issue in local access 我无法在 xampp 中打开我的 phpmyadmin。它显示访问被拒绝 - I cannot open my phpmyadmin in xampp.It shows access denied 从本地网络中的PC访问Wamp 3.1 - Access Wamp 3.1 from PC in local network
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM