亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱

php - Xiaomi router, under the same LAN, how can a mobile phone and a computer access local services opened through xampp on the computer through the computer's IP address at the same time?
怪我咯
怪我咯 2017-06-05 11:07:48
0
1
1014

Question: I want to use a mobile phone and a computer to access local services enabled on the computer through the computer IP address at the same time. Because I am a front-end, I need to adapt the page to mobile terminals.

  1. Prerequisite: The computer and mobile phone are in the same wireless network environment

    
    電腦通過,xampp 開啟本地服務(wù),然后用 本地ip地址訪問本地服務(wù)內(nèi)的文件:
    手機(jī)和電腦的ip地址如下圖所示:
    

On the tp-link router in the office, I can achieve the effect I want,
That is, the mobile phone and computer can access the locally enabled services through the IP address on the windows cmd command in the above picture at the same time, as shown in the figure:

2. The above situation is in the office, everything is normal, but when I return home, the situation is different. The mobile phone cannot access it, and the router at home is a Xiaomi router

打開window cmd  看到的ip地址 為 192.168.31.185 ,

用這個(gè) ip地址在電腦本機(jī)上 訪問 xampp 開啟的本地服務(wù)也是可以的,

但是用手機(jī)卻不行了,手機(jī)的 ip地址 為 192.168.31.51

Is this a problem with the Xiaomi router or some other reason?

重要的事情說三遍:1.手機(jī)和電腦是處在同一無線網(wǎng)絡(luò)下
                 2.手機(jī)和電腦是處在同一無線網(wǎng)絡(luò)下
                  3.手機(jī)和電腦是處在同一無線網(wǎng)絡(luò)下
怪我咯
怪我咯

走同樣的路,發(fā)現(xiàn)不同的人生

reply all(1)
給我你的懷抱

Try turning off Windows Firewall

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template