pastertalks.blogg.se

How to use wamp server virtual host mobile
How to use wamp server virtual host mobile













  1. #HOW TO USE WAMP SERVER VIRTUAL HOST MOBILE HOW TO#
  2. #HOW TO USE WAMP SERVER VIRTUAL HOST MOBILE WINDOWS#

You will use the main computer IP address instead of localhost or 127.0.0.1 when you try to access the wamp website.

#HOW TO USE WAMP SERVER VIRTUAL HOST MOBILE WINDOWS#

  • You still need to set the Inbound and Outbound rules for Windows.
  • You can also choose the Require options as same as I mention above.
  • Change the “Require local” to “Requier all granted” in nf.
  • If you don’t use the SSL just like mine, you can follow the steps below. You now should visit the wamp website from your tablet, phone, and another computer in the same network. Any name you want.Ĭreate the new rules and set everything the same as the Inbound rule above.Īnd that’s it.

    how to use wamp server virtual host mobile

    Finally, give the relative name of your setting.Then choose TCP and choose Specific local ports.To do that, we will navigate to Windows Defender Firewall with Advanced Security. try: Checking the connection ERR_CONNECTION_REFUSED“. Otherwise, you will get the error that says “ localhost refused to connect. We need to set the Firewall to allow other devices to access the wamp website on your main computer(Windows OS). Trobleshoot: localhost refused to connect On the main computer, you will need to access the wamp website the same way as other devices are shown above.

    #HOW TO USE WAMP SERVER VIRTUAL HOST MOBILE HOW TO#

    Below is how to access the wamp website from other devices (tablet, phone, mac book). Simply uses the main computer IP address. How to access the wamp website from other devices If you still set it as “Require local”, when other devices try to access your wamp website, it will get the Forbidden 403 error from Apache on the browser. With “Require all granted”, all devices on the same network, can access the wamp website you want. ServerAlias DocumentRoot "e:/wamp64/www/yourprojectfolder" Then changes the Require local to Require all granted as below. In the nf, look for the virtual host that you want to allow other devices to access. Next, we will set the other devices’ permission. It will show the IP address of your computer in the terminal.īelow is my example when I set the IP address at the Virtualhost tag of the wamp website I want. On Windows, you can open the command line terminal and type “ ipconfig” command. My main computer IP address(IPv4 address) is .x. Your main computer is the one that runs Wampserver. At the VirtualHost tag, replace * with your main computer IP address. In the nf, look for the wamp website that you want to allow other devices to access. Set your IP address (the one that runs Wampserver) Navigate to your apache folder, for example, “ c:\wamp64\bin\apache\apache2.4.46\conf\extra“.

    how to use wamp server virtual host mobile how to use wamp server virtual host mobile

    We will change the lP address of the server from 127.0.0.1 to our main computer IP address that runs Wampserver. Simply check the connection setting on your device. In order to allow the devices to access the wamp website from my main computer(Windows OS), all devices(Mac book, iPad, and iPhone) must use the same wifi network as my main computer.įor example, your main computer uses a 5G Wifi network, you want to make sure your tablet, phone, and Mac book connects with a 5G wifi network as well. 6 In case, you don’t use SSL Make sure the devices use the same network















    How to use wamp server virtual host mobile