WampServer set the external network to be accessible

Install WampServer 3.0.6 (I use 32-bit here, the same for 64-bit)

First make sure your computer has "vc_redist.x64.exe" or "vc_redist.x86.exe" installed.

If not, please go to Microsoft's official website and search for "Microsoft Visual C++ 2015 Redistributable Update 3" to download and install, because WampServer 3.0.6 version requires these programs to run properly.

WampServer3.0.6 does not allow external network access by default

Open and run WampServer3.0.6, the initial interface is as shown in the figure



If you want to choose a language

Move the mouse to the wampserver icon in the lower right corner, right-click and select Language->Chinese, then the operation is convenient.



Configure httpd-vhosts file

Open the wampserver3.0.4 installation directory and find the "httpd-vhosts.conf" file, as shown in the figure

Open the "httpd-vhosts" file with Notepad, find Require local, and replace it with "Require all granted", save, close, as shown



Restart apache, then you can access it under the same local area network. Similarly, if the control of the router's access to the external network is removed, then the external network can now be accessed.



Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324644270&siteId=291194637