The reason for the failure of the real phone to access the local computer website

Source: Internet
Author: User
Tags lenovo

Recently made a website, want to use real phone access to debug, but the access is not prompted to connect, can not open the site, this is what reason, best not its solution, because the mobile phone is available through WiFi Internet, computer, although the Internet through a network cable, but all use the same router, and the authority has not made any restrictions. After a few steps of detection, finally found the cause, and solve the problem.

1. Test whether LAN can connect

The first step in testing is to test whether the LAN is connected. Another LAN computer is needed to test the test by pinging the native IP in the computer.

Network Connectivity Testing

The ability to ping means that the network is connected.

2, the detection of LAN can access to share

The method of testing access sharing is to access the machine on another computer in the LAN, and enter it directly on another computer:

\\192.168.1.15

Or

\\lenovo-pc

Where 192.168.1.15 is the native ip,lenovo-pc is the computer name of the machine.

If you can access it, a window pops up asking you to enter your user name and password.

If you cannot access it, the probable cause is generally the following two:

1) Are there any settings for the computer login password? You cannot share without setting.
2) is the computer firewall open? Cannot be shared after it is opened.

According to the above two reasons, I checked each one, found that the firewall is open, so I closed the firewall.

Test again, and finally pop up the dialog that asks you to enter your computer login username and password.

LAN shared access

You can access the shared file once you have entered it.

3, test site can access

Then on the phone to visit the local site, and finally opened.

Cause analysis

The detection of the above steps can be determined, because the computer's firewall is turned on, causing the local area network computer can not access the local site. But what if you must open the firewall? Then you can add a "80" port to the firewall, that is, allow HTTP access.

Win2003 Firewall Add 80 port

The reason for the failure of the real phone to access the local computer website

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.