One, the mobile phone via wifi connection, to the computer in the same route
Second, build the server
Here is the Wamp integrated installation package, one-click installation is OK
Third, set the fixed IP
Network right--Properties--"Change adapter Settings"--"local connection" right--"properties"--"Internet Protocol version 4"--Set IP address-"Preferred DNS server: 208.67.222.222"--" Alternate DNS server: 208.67.220.220 "
(Note: the DNS server is searched from the Internet, may cause the Internet problem, anyway, I have no problem)
Iv. Wamp default access is the WWW folder under the installation path and can be modified by modifying the httpd.conf file
1, the path is: wamp\bin\apache\apache2.4.4\conf\httpd.conf
2. Find the following content
DocumentRoot "D:/wamp/www"
<directory "D:/wamp/www" >
The path here is the original default path, change it to the path you want to access
V. Configuring the httpd.conf File
1. Found in this file:
<directory/>
Options FollowSymLinks
allowoverride None
Order Deny,allow
Deny from all
</directory>
Change the last sentence "Deny from all" to: "Allow from all", save
2. Find:
Allow from 127.0.0.1
Allow from localhost
Add a line "Allow from 192.168.13.32" (Here the 192.168.13.32 is the IP set in the third step)
Note: You must restart the server to take effect after modifying the configuration file
Make your phone access your computer