Isaac
asked on
WAMP localhost problem
Hello,
I installed WAMPSERVER 2.0 on my laptop but when I browse to http://localhost/, a page running on IIS renders.
So, I did the following and it still did not work.
I opened up httpd.conf and made the following changes
Listen 80 -> Listen 8080
ServerName localhost:80 -> ServerName localhost:8080
When I browse to
http://localhost:8080/, it still does not work.
Any ideas of what I'm doing wrong?
Thanks!
I installed WAMPSERVER 2.0 on my laptop but when I browse to http://localhost/, a page running on IIS renders.
So, I did the following and it still did not work.
I opened up httpd.conf and made the following changes
Listen 80 -> Listen 8080
ServerName localhost:80 -> ServerName localhost:8080
When I browse to
http://localhost:8080/, it still does not work.
Any ideas of what I'm doing wrong?
Thanks!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
If it still doesn't work, run the following command in cmd window:
netstat -nap tcp | find "LINSTEN"
and see if 127.0.0.1:8080 is listed.
netstat -nap tcp | find "LINSTEN"
and see if 127.0.0.1:8080 is listed.
ASKER
Here's the error I get in IE.
The website declined to show this webpage HTTP 403
Google chrome is a little bit more descriptive
Forbidden
You don't have permission to access / on this server.
Also, I browsed to "http://localhost:8080/phpmyadmin/" and it rendered to the page but there was an error at the bottom. See image:
Capture.PNG
The website declined to show this webpage HTTP 403
Google chrome is a little bit more descriptive
Forbidden
You don't have permission to access / on this server.
Also, I browsed to "http://localhost:8080/phpmyadmin/" and it rendered to the page but there was an error at the bottom. See image:
Capture.PNG
phpmyadmin is fine, that is normal.
things to check under httpd.conf
listen 8080
documentroot "c:/wamp/www" (index file in there)
<directory "c:/wamp/www/">
what do u have in c:/wamp/www? is it php or html?
does wamp show its online ? on the tast icon list next to the clock wamp should be solid white ?
did ur page originally show up on port 80 with out issues?
things to check under httpd.conf
listen 8080
documentroot "c:/wamp/www" (index file in there)
<directory "c:/wamp/www/">
what do u have in c:/wamp/www? is it php or html?
does wamp show its online ? on the tast icon list next to the clock wamp should be solid white ?
did ur page originally show up on port 80 with out issues?
HTTP 403 - It's #6 of m3hran's list.
phpmyadmin issue is a separate problem. It's about the security settings of MySQL server. Follow the instructions on the screen - create a password for MySQL root account.
phpmyadmin issue is a separate problem. It's about the security settings of MySQL server. Follow the instructions on the screen - create a password for MySQL root account.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
If I turn of IIS webserver, will that affect me debugging in Visual Studio 2008?
Thanks
Thanks
ASKER
I put all the settings back,turned off IIS and restarted Apache.
Now I get this error:
Forbidden
You don't have permission to access / on this server
Now I get this error:
Forbidden
You don't have permission to access / on this server
Hi,
Please check your apache log file for the exact reason. Sometimes it might be due to wrong permission / ownership of your files/folders.
Please check your apache log file for the exact reason. Sometimes it might be due to wrong permission / ownership of your files/folders.
also turn off windows firewall
ASKER
In addition to all these things, I uninstalled WAMP and reinstalled it using my admin account. Everything works great now.
Thanks.
Thanks.
BindAddress *
And I think you need to omit the ":8080" part of ServerName