473,385 Members | 1,356 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

can't access my localhost

123 100+
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?
Jul 26 '10 #1
8 9441
simon2x1
123 100+
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.
Jul 28 '10 #2
Atli
5,058 Expert 4TB
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:
Expand|Select|Wrap|Line Numbers
  1. net start wampapache
This attempts to start the server. If there is an error this should show what it is.
Jul 29 '10 #3
simon2x1
123 100+
When i click on the apache error log as you said it bought out a notepad which is blank and when i type net start wampapache in cmd it showed SYSTEM ERROR 5 HAS OCCURRED. ACCESS IS DENIED
Jul 29 '10 #4
Atli
5,058 Expert 4TB
If you'r using Vista or Win7 you need to execute the command as admin. Right click on the command prompt icon and select "Run as admin".
Jul 29 '10 #5
simon2x1
123 100+
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: ***
Aug 2 '10 #6
Atli
5,058 Expert 4TB
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\apache\Apache2.2.11\conf\httpd.co nf" in notepad and changing the number in the following line to something else. I'd recommend something around 50000, to avoid conflicts.
Expand|Select|Wrap|Line Numbers
  1. Listen 80
Then try to start the server.
Aug 2 '10 #7
simon2x1
123 100+
i have try it i replace Listen 80 with Listen 50000 it is still the something that is it was an empty page that display and there was no message on the page telling you it can't connect?
Sep 7 '10 #8
Atli
5,058 Expert 4TB
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/
Sep 7 '10 #9

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Stuart P | last post by:
Hello, I am making my first real game in C++ and there is a problem with the class used to contain a level. The level::load(filename) function gives an Access Violation error when trying to...
10
by: MHenry | last post by:
Hi, We were going merrily along for 6 years using this database to record all client checks that came into our office, including information about what the checks were for. Suddenly, network...
2
by: trebor | last post by:
I added a couple of class files to a VS web project, and I can't access the application object from inside them. The system treats them like undeclared variables. Is there an Imports I have to use?...
6
by: Plamen Doykov | last post by:
Hi all I have converted a simple project from ASP.NET 1 to 2.0 with the latest prerelease of Visual Studio 2005. The problem is I can't access internal members from the code behind. It gives:...
3
by: Paul | last post by:
I cannot seem to get an answer to this problem. Hopefully somebody here can help. I am using .net 1.1 wit sp1 under windows xp pro. I can't access any web services on the internet from a windows...
0
by: staffonline | last post by:
Hi Friends, I recently can not access our share folder on a file server. the share folder have special permissions (only some domain groups allowed, but i was a member of that group). but i...
7
by: Finger.Octopus | last post by:
How to access data from MS Access? I tried ADOdb for Python but it doesn't seems to work. Even the official examples dont work, like this one: import adodb conn =...
15
by: =?Utf-8?B?R2Vvcmdl?= | last post by:
Hello everyone, I met with a strange issue that derived class function can not access base class's protected member. Do you know why? Here is the error message and code. error C2248:...
6
by: =?Utf-8?B?SmF5IFBvbmR5?= | last post by:
I am trying to access a Public property on a Master Page from a Base Page. On the content pages I have the MasterType Directive set up as follows: <%@ MasterType virtualpath="~/Master.master" %>...
13
by: tommymo | last post by:
Hi everyone I'm new to this site and the world of ASP.Net C# programming. I have been learning controls and integrating them with a SQL database. So far I have been able to move along and understand...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.