Mobile Access to PC local server

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.