Environment: PC and mobile phone connect the same router Internet, PC using Wamp (Wampserver3.0.4_x86_apache2.4.18_mysql5.7.11_php5.6.19-7.0.4.exe) build.
Symptoms: Phone input PC IP (LAN ip,192.168.1.*), phone access is forbidden, various changes to Apache configuration files (various versions, allow and grant) and PC network settings (including firewall rules) are not valid.
And there is currently no such problem and solution on Segmentfault.
If you can, please give a systematic answer.
Reply content:
Environment: PC and mobile phone connect the same router Internet, PC using Wamp (Wampserver3.0.4_x86_apache2.4.18_mysql5.7.11_php5.6.19-7.0.4.exe) build. Symptoms: Phone input PC IP (LAN ip,192.168.1.*), phone access is forbidden, various changes to Apache configuration files (various versions, allow and grant) and PC network settings (including firewall rules) are not valid. And there is currently no such problem and solution on Segmentfault. If you can, please give a systematic answer.
Wamp Default site:--do not know whether the landlord is the default site. The test does not have access from other machines, see Apache configuration. httpd.conf about 257 lines.
... Require local ...
Only local access is allowed here, instead Require all granted .
Access the PC's external IP.
The pending HTTP proxy is accessible.
Chrome to Mobile can, but I'm just looking at people who have used them and haven't tried them. The second type of personal comparison is common.
Purpose in order to debug a mobile site?
Before I can use, suddenly found that no use, and, if resolved, please @ I
Must be the same LAN, same IP segment ...
LocalHost is to access the local loopback address, the phone can only be accessed by themselves, access to the PC equivalent to access the server, after the PC command input ipconfig view the IP address of the PC, in the phone through this IP access to the PC
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.