

The browser should display your localhost page successfully. To test if it is working, type this IP address in your desktop browser where your localhost server is installed. This is the IP which you need to access your localhost on your Android phone over wifi. In my case, my local area network address is 10.0.0.2. # Controls who can get stuff from this server.įind and replace ‘127.0.0.1’ with ‘All’, save the file, and restart your Wamp server. # It can be “All”, “None”, or any combination of the keywords: # AllowOverride controls what directives may be placed in. # The Options directive is both complicated and important. # Note that “MultiViews” must be named *explicitly* - “Options All” # Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews # Possible values for the Options directive are “None”, “All”, Otherwise, we will get the 403 forbidden error when we access the localhost through a local network IP.įind this section of configuration in the nf file: Directory “c:/wamp/www/” Step 3Įdit the nf file of the Wamp server to fix the 403 error. This will enable port 80 access on local network IP. Give some nice name to your new rule and click Finish. Keep Profile options unchanged and click Next. Keep Allow the connection unchanged and move to the next step. Select the “Specific local ports” radio button and enter 80 as the port value. Select Inbound Rules from the left panel, then select New Rule.

Select Advanced settings from the left panel of the Windows Firewall setting page. Open the Control Panel and select Windows Firewall. Step 2Īdd a new rule for port 80 in Windows Firewall. If you have installed Apache or any other server, ignore this step.ĭownload and install Wamp Server from here. This is one of the best servers I know to set up a local server. Install the Wamp server (or any other you prefer). I only changed one thing, where the tutorial states you change ‘127.0.0.1’ to ‘All’, change it to the IP address your server is running on instead.Īfter that, you should be able to connect to your localhost.īelow is a (proofread) copy of the information from the linked page: Step 1 I found a quick solution to this problem.
