Mobile Access to local server (no network)

Source: Internet
Author: User

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)

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.