PS1: No network conditions using Wamp software, notebook created wireless, mobile access to native server successfully
PS2: Cannot open Virtual host "# Include conf/extra/httpd-vhosts.conf" to comment out
PS3: Some of the other methods on the Internet are very good, some are not easy to operate, this is relatively simple
1: Set up a WiFi hotspot on your computer. Laptop easy, desktop, buy a wireless card
2: The administrator runs the command line:
Netsh wlan show drivers
If "Supported hosting network" is required, replace the new desktop wireless network card
3: Run:
Netsh wlan set hostednetwork mode=allow ssid=newnetwork Key=keyword
Mode: Whether to enable the virtual WiFi network card, to disallow is disabled
SSID: Wireless network Name
Key: Password, eight characters or more
Notebook needs (I need to note the notebook) Increase Keyusage [keyusage=]persistent|temporary represents the user key key permanent or temporary
Notebook example: netsh wlan set hostednetwork mode=allow ssid=newnetwork key=123456789 keyusage=temporary
4: Run again to start the Virtual network card (try to see if the prompt is successful)
Netsh wlan start hostednetwork
5: Local Connection--"attribute--" Share--"Select the Created wireless network click: Allow other network users to connect through this computer's Internet
6: Modify the Apache http.conf file:
Order Deny,allow
Deny from all #注释掉
Allow from 127.0.0.1
7: Mobile connection Newnetwork with http://192.168.0.1 access success
Mobile Access to local server (no network)