403 Forbidden - WAMP Server 2.5
I have installed WAMP version 2.5 on my windows 8.1 machine. When i browse to localhost in my browser, the WAMP server page is visible.
But when I browse to my localhost in my mobile connected to same AP, I get the message "403 Forbidden: You don't have permission to access / on this server".
WAMPServer is configured to be a single seat developer tool for the AMP stack on a windows system.
As such and for the security of the complete beginner, WAMPServers Apache is configured to only accept connections from the PC that is running the Apache service.
If you want to connect to Apache from an IP other than that of the PC running WAMPServer, like your phone or another PC on your local network, you have to tell Apache that is allowed.
The simple solution for this is to use the wampmanager menus system :-
wampmanager -> Put Online
This will change the
httpd.conf file from
# onlineoffline tag - don't remove Require local
# onlineoffline tag - don't remove Require all granted
Thus allowing any ip address in the universe to connect to your Apache web server. If you are sure that there is no external access to your local network this is reasonable solution.
If however you think that now or at some future time your network may allow access over port 80 from an external source, I prefer to be a little more specific when I change this parameter. So if you prefer you can
httpd.conf file, use the wampmanager menus to do this
wampmanager -> Apache -> httpd.conf
Then change this
# onlineoffline tag - don't remove Require local
# onlineoffline tag - don't remove Require local Require ip 192.168.1
assuming that your local subnet starts with those 3 quartiles and that your phone is connected to your router via WiFi.
If your phone is using your suppliers network i.e. not your WiFi this will not work and you will have to Port Forward your router, but thats another question.
WAMPServer is configured to be a single seat developer tool for the AMP stack on a windows system. As such and for the security of the complete beginner, Works for Windows 7/8/10/Vista/ XP.Fix Error 403 Forbidden and other errors.
I searched for solutions to resolve the error "Forbidden" with Wampserver 2.5 in Windows 8.1.
Here's what I found:
Locate the file:
In my case the file is in
The look for the line
And then look for the line
Require local, next write the following:
Require all granted
Restart your wampserver and you can browse the localhost on every devices that stays connected in your local network.
Learn how to fix 403 forbidden errors in WAMP server while you are accessing localhost and phpmyadmin. Checkout video tutorial to fix this I have installed WAMP version 2.5 on my windows 8.1 machine. When i browse to localhost in my browser, the WAMP server page is visible. But when I browse to my localhost in my mobile connected to same AP, I get the message "403 Forbidden: You don't have permission to access / on this server" .
If you try all the above cannot solve, then try this.
I have the same problem then I realize there is .htaccess file that blocks the directory listing. Try to remove or reconfigure the .htaccess file.
All the best.
Forbidden error occurs because of not having the permission of accessing that particular page. This problem is faced by many of us while installing WAMP Server. If you get a message "403 forbidden error" then you need not to worry. Don’t worry, this article can solve your problem in minutes. 403 forbidden is the most common error being faced by many developers while installing WAMP server on PC. If you’re one who just installed Wamp server 3.0 and got this error message “403 Forbidden Error – You don’t have permission to access / on this server.”, don’t panic, you can fix this forbidden error in just 5 minutes by following these 5 simple steps.
I uninstalled and reinstalled the services, almost damage the wampserver.
I tried this, and the section "Fix 403 Forbidden error on other computer in local network" worked for me. It was simplier, becuase the issue was in the ‘httpd-vhosts.conf’ file.
Hello! I have been searching for about 2 hours straight to try and fix the 403 forbidden. I can access it via localhost and it's green and online. This problem is faced by many of us while installing WAMP Server. If you get a message "403 forbidden error" then you need not to worry. Just follow the steps below to solve this problem: This problem can be solved by editing .conf files.
WampServer 2.5 3. Apache/2.4.9 (Win64) 4. PHP 5.5.12 5. MySQL 5.6.17 6. WampServer icon is GREEN 7. Only 2 active lines with localhost in 174. 174 bronze badges. The access to your Apache server is forbidden from addresses other than 127.0.0.1 in httpd.conf (Apache's config file) – Nasreddine Nov 20 '11 at 21:37.
WAMP stands for Windows, Apache, MySQL, PHP. wampserver installer can be easily Duration: 3:49 Posted: 6 Dec 2015 Wamp Icon = Green (rofl duh) Apache version = 2.4.4. PHP version = 5.4.16. SQL version = 5.6.12. WampServer version = 2.4. OS = XP SP3 32BIT. Hey I installed wampserver and removed it about 3 times. Before installing it the 4th time, I removed all SQL folders in appdata. I then started up myphpadmin and removed all users that weren't root.
WAMP phpmyadmin 403 forbidden error "Forbidden You don't have permission to Duration: 2:03 Posted: 8 Jul 2014 At the moment, I have three different domains that I want to point to three different folders on my server, but no matter what I do, they all point to the same folder (C:/wamp/www, which is localhost) instead of different subdirectories like (C:/wamp/www/project) or (C:/wamp/www/example).