I'm using a wampserver 2.0, whenever I turn it on and open my web browser to access my localhost nothing display on the browser. but before now it does work. Please how can I solve this problem?
can't access my localhost
Collapse
X
-
please i need an answer to my question i have uninstall and install my wamp, uninstall my anti virus an my firewall is still on Off but yet i can not access my localhost from my browser (but firefox n explorer)if i acesss my localhost form my browser it dont display any thing. -
Have you checked the Apache error logs?
If the server isn't starting because of an error, then it would be logged there. In WAMP you can left click the WAMP system tray icon, "Apache", and "Apache error log".
You can also try opening a command prompt and typing:
This attempts to start the server. If there is an error this should show what it is.Code:net start wampapache
Comment
-
I have run the cmd as admin type net start wampapache this was what appear
THE WAMPAPCHE SERVICE IS STARTING...
THE WAMPAPCHE SERVICE COULD NOT BE STARTED.
A SERVICE SPECIFIC ERROR OCCURRED: 1
MORE HELP IS AVAILABLE BY TYPING NET HELPMSG 35470
so i typed it and this what appear
A SERVICE SPECIFIC ERROR OCCURRED: ***Comment
-
That's odd. When you type in localhost in your browser, do you get an empty page or a page telling you it can't connect?
Could there be another HTTP server running on the machine? IIS, for example?
Try changing the port your Apache server runs on. You can do that by opening the file "C:\wamp\bin\ap ache\Apache2.2. 11\conf\httpd.c onf" in notepad and changing the number in the following line to something else. I'd recommend something around 50000, to avoid conflicts.
Then try to start the server.Code:Listen 80
Comment
-
Did you use the proper port in your URL? If you are connecting to a local HTTP server on port 50000 the URL should be: http://localhost:50000/Comment
Comment