无法通过WiFi从Android设备连接到XAMPP localhost

时间:2014-11-25 01:18:59

标签: android xampp localhost wifi server

我在笔记本电脑上安装了XAMPP apache和mysql服务器,我可以在笔记本电脑的mozilla firefox浏览器中的localhost上查看我的服务器。我想要做的是从我的Android手机访问我的服务器。我的Android手机和笔记本电脑都连接到同一个WiFi接入点。我使用ipconfig查看笔记本电脑的IP地址,然后在我手机的Chrome浏览器中输入:192.168.0.14:80打开手机上的服务器页面。它没有。我抬头看着互联网,发现各种黑客,其中没有一个对我有用。

> Turned off my firewall; no luck.

> Modified the httpd.conf file to listen on different port numbers
  and IP addresses but none worked.  

> Created a new firewall rule to listen on different ports, using 
  which didn't work.

> Turned off my anti virus. Still nothing.

它适用于Android模拟器就好了。

它出了什么问题?任何帮助将不胜感激。

**UPDATE:**
I tried using a public network and it asked me to change configuration 
to allow public networks. I removed the restriction in the 
httpd-xampp.conf file and I was able to connect to my server from my 
android phone.

But I still cannot connect using my local WiFi network.

0 个答案:

没有答案