简体   繁体   中英

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

I have xampp installed on my PC. I can access xampp dashboard and PHPmyadmin by entering 192.168.xx on another computer over same network. 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.

What is reason that it is redirecting to my ip to localhost on that computer?

  1. check your firewall for any input with incoming on port 80 ( or for the test turn off firewall )

  2. in xampp look for http.conf (configuraton file for apache)

look for something like that : order deny,allow deny from all allow from 127.0.0.1

remove "deny from all" and reload apache

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM