Home router Internet, computers and mobile phones are connected to the same router.
Apache-built static server on the computer, 127.0.0.1 normal access page
But the phone can't be accessed with 127.0.0.1来 because 127.0.0.1 is a "local loopback address"
What's the whole thing?
I'm win8,win+r. Open run, enter CMD carriage return, and then use the ipconfig command:
Mobile browser access to the red box 192.168.0.103 can be accessed to the computer 127.0.0.1 corresponding pages, they use the default 80 port. If it is Win7, it will be very smooth to this, but if WIN8 will not!
Win8, the hand will not be accessible 192.168.0.103
you need to go to the WIN8 firewall to open port 80 , the specific steps to refer to:
Http://jingyan.baidu.com/article/e9fb46e19ff8137521f7660c.html
After you open the port, your phone will be able to access it normally.
Spit Trough: The method looks very simple, in fact I toss a day, on-line various search, the book on various tests, finally know the reason, fortunately, I have 2 notebooks, a Win7 a win8, very suspicious of their IQ, but the guy who eats, not to have to, finally line!
Also learned how to let two notebooks in the LAN of the router to share files, by the way know that their win8 Chinese version is castrated, there is no "Group Policy", and then a good person very carefully in an article outlining how to open the castrated version of the Win8 in the Guest account, changed the registry. Later 2 notebooks can be shared files, but the Win7 in the Win8 cannot access the local server, and finally opened the WIN8 Firewall 80 port, only access. Then the phone can also access the
Mobile Access to PC local server