Home >Backend Development >PHP Tutorial >Solution to WampServer LAN mobile phone being unable to access

Solution to WampServer LAN mobile phone being unable to access

不言
不言Original
2018-07-06 15:25:465238browse

This article mainly introduces the solution to the problem that WampServer LAN cannot be accessed by mobile phones. It has certain reference value. Now I share it with you. Friends in need can refer to it.

After installing wamp, you want to use your mobile phone When accessing the web page under wamp on the computer through local area, the following prompt appears.
Solution to WampServer LAN mobile phone being unable to access

1. Open the http.conf file
Replace the original
Require local
with
Require all granted

Solution to WampServer LAN mobile phone being unable to access

2. Open the http.vhosts.conf file
and change the original
## Replace #Require local with

Require all granted
Solution to WampServer LAN mobile phone being unable to access

After restarting the service, you can enter, and the problem will be completely solved! ! !

The mobile phone can access the page normally in the LAN

The above is the entire content of this article. I hope it will be helpful to everyone's study. For more related content, please pay attention to the PHP Chinese website!

Related recommendations:

Solution to the configuration error of fastcgi_param in the nginx configuration file

The above is the detailed content of Solution to WampServer LAN mobile phone being unable to access. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn