Just installed WAMP on a Windows 7 machine.
When I go to localhost / from the localhost, everything works. But when I try to go to the machine from another computer on the local network, I get the following error message:
Forbidden
You don't have permission to access / on this server.
Apache/2.4.9 (Win64) PHP/5.5.12 Server at 192.168.1.13 Port 80
How do I solve this?
See the below question. You have to allow access through port 80 to your Apache server in httpd.conf by making sure you have Listen *:80
How to access site running apache server over lan without internet connection
An additional resource with items to do when you install a fresh copy of WAMP
http://forum.wampserver.com/read.php?2,119754,119754
Click on wamp icon > Apache > Apache modules > rewrite module(enable this module)
Related
I set apache server to run on 8080 and 4433 ports (I changed all the references on 80 port in configuration files as well as all references on 443 port so apache can start). And in XAMPP application it says that apache server is normally running. MySQL server is running as well. There is a solid connection with internet so connection isn't a problem. But when I tried to access 127.0.0.1 this message appeared on display:
This site can’t be reached
127.0.0.1 refused to connect.
Try:
Checking the connection
Checking the proxy and the firewall
ERR_CONNECTION_REFUSED
How to solve this issue?
Apache won't re-read it's config file automatically after you change it so make sure you've restarted the service.
Also enter the url as http://127.0.0.1:8080 so the browser knows to connect on port 8080 rather than 80.
I was trying to configure apache server to be accessible from other WAN computers
Tried this and other procedures that I have found in different forums but it still isn't accessible:
*Set my rooter port forwording to 8080
*configured the httpd.conf to listen to port 80 and granted all access to DocumentRoot directory
I assume that Wamp Server is running fine on your localhost.
Suppose your IP Address is 192.168.5.10:8080 to access wamp Server and the same you want to access from other PC on WAN. Then Click on "Put Online" as mentioned in the Screenshot.
It will restart the wamp Server. Just wait until the Wamp Color Become green and you will be able to access your localhost wampserver website on your network.
I hope this will work for you
I installed openssl on my Wamp Server following the instructions found at How to install: OpenSSL + WAMP. I have my setup in my http.conf file to currently listen to port 8080 in order to accommodate running Wamp along side IIS.
ServerName localhost:8080
However, I cannot get my wamp server to run after I edit the httpd-ssl.conf file according to the instructions.
So my question is how do I run openSSL on Wamp along side IIS?
Running 2 webserverse on the same server needs to have either different ports or differnet IPs.
You took the road using a different Port which is working but then you need to call your server with
https://localhost:8080/
this is probably a noob problem but I can't get this to work. The Apache on wamp is currently on Listen 8080 because the regular localhost wouldn't work. However when I turn on Tomcat it is also on 8080 which is conflicting with wamp. I am connecting to Tomcat via Eclipse plugin. With Tomcat on I can't get into phpmyadmin on wamp.
Apache's httpd.conf in wamp is set to:
Listen 8080
ServerName localhost:80
Only with this setting I can get wamp to work.
localhost:8080 will work and 127.0.0.1:8080 works as well. Turning on Tomcat will automatically override wamp's settings. How can I get wamp to just be a regular localhost address and not have it take an 8080 port where Tomcat is sitting on?
try to change the port tomcat is using.
Go to conf folder in tomcat installation directory
e.g. C:\Tomcat 6.0\conf\
Edit following tag in server.xml file
Change the port=8080 value to port=80
Save file.
or another solution is , you can change your wamp port from 8080 to any other one...
I just installed wamp on my Windows 7 64 bit machine. I previously had IIS installed on this machine so I disabled it. The issue I'm having is I cannot browse localhost I get
Forbidden
You don't have permission to access / on this server.
Apache/2.4.9 (Win64) PHP/5.5.12 Server at localhost Port 80
Note* I cannot browse to 127.0.0.1 either. Same error.
However, I can browse these directories with no issues.
[PhpMyAdmin](http://localhost/phpmyadmin)
[SqlBuddy](http://localhost/sqlbuddy)
[PhpSysInfo](http://localhost/phpsysinfo)
The hosts file in C:\Windows\System32\drivers\etc\ does contain the following:
127.0.0.1 localhost
Any suggestions on how I can resolve this issue?
A likely cause is that the webserver has no permission to read the root www directory.
Have you tried checking your vhosts.conf file? It should be somewhere in
[your wamp dir]/bin/apache/[apache vers]/conf/extra
There check if there is a default virtual host available. There should be one configured by the default install.
Then check the directory pointed by the DocumentRoot directive exists and is readable/writable.