How can I access the pc localhost through a mobile phone?

Source: Internet
Author: User
Environment: Environment. Symptoms: enter a pcip address (LAN ip address, 192.168.1. *) on your mobile phone. Access to your mobile phone is forbidden. make various changes to the apache configuration... environment: Disabled.
Symptom: Enter the pc ip address (LAN ip address, 192.168.1. *), mobile access is forbidden, and various changes to apache configuration files (various versions, allow and grant) and pc network settings (including firewall rules) are invalid.
This question and answer are not provided on segmentfault.
If you can, give a systemic answer.

Reply content:

Environment: Environment.
Symptom: Enter the pc ip address (LAN ip address, 192.168.1. *), mobile access is forbidden, and various changes to apache configuration files (various versions, allow and grant) and pc network settings (including firewall rules) are invalid.
This question and answer are not provided on segmentfault.
If you can, give a systemic answer.

WAMP default site: -- I do not know whether the main site is the default site.
The test is indeed inaccessible from other machines. check apache configuration.
Httpd. conf contains approximately 257 lines.


  
       ...    Require local    ...
  

Only local access is allowed.Require all grantedYou can.

  1. The external IP address used to access the PC.

  2. The HTTP proxy is accessible.

  3. Chrome to Mobile is acceptable, but I have never tried it.
    The second type is commonly used by individuals.

Purpose: To debug a mobile site?

Previously I could use it and suddenly found that it could not be used. Nima, if you solve it, please @ me

Must be in the same LAN, same Ip segment...

Localhost is the loopback address for accessing the local machine. It can only access itself on the mobile phone. Accessing the pc is equivalent to accessing the server. Enter ipconfig in the pc command to view the IP address of the pc, access the pc through this ip address on your mobile phone

Are there any prompts for mobile phone access?

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.