Access xampp from one computer to another computer via internet ip address

柔情痞子 提交于 2019-12-11 03:45:17

问题


I was trying to access my xampp from another computer ,it is showing as forbidden error.Then i googled for answer for that they were telling some settings to change in httpd.conf file which is there in apache folder as follows:

Order Deny,Allow
Deny from all
Allow from 127.0.0.1
Allow from ::1

#Order Deny,Allow
#Deny from all
#Allow from 127.0.0.1
#Allow from ::1

But it is not working it still shows the same error.can somebody help me to solve this.

And i want access my xampp from multiple computers as well can you please provide a solution for this . Thanks.


回答1:


try add new line

Allow from {other computer ip}

or for all

Order Deny,Allow
Allow from all

After change, restart xamp




回答2:


you can try

connectify

install it, start it and connect your other machines with your system hotspot, then other computer on the same network can access your xampp server through your system ip like

http://192.168.9.3/your_project

where 192.168.9.3 is your system IP, enjoy



来源:https://stackoverflow.com/questions/32326293/access-xampp-from-one-computer-to-another-computer-via-internet-ip-address

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!