473,854 Members | 1,757 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

can't access my localhost

123 New Member
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 9481
123 New Member
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
5,058 Recognized Expert Expert
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
123 New Member
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
5,058 Recognized Expert Expert
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
123 New Member
I have run the cmd as admin type net start wampapache this was what appear
so i typed it and this what appear
Aug 2 '10 #6
5,058 Recognized Expert Expert
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.
Expand|Select|Wrap|Line Numbers
  1. Listen 80
Then try to start the server.
Aug 2 '10 #7
123 New Member
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
5,058 Recognized Expert Expert
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

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 access the class's member variables. Here is the class definition in level.h: class level { BYTE w,h; WORD *boarddata;
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 computers cannot access the database. The message is...
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? The value that I need global to the entire project is the oleDB connection string ("Provider=.... Data Source=C:\..."). What I've done in the meanwhile is declare a shared property in each of the classes to hold this value. When the...
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: error CS0122: 'Class' is inaccessible due to its protection level This happens only when access members from code behind, not from the other classes. It compiles OK when making the class and its members public. However, I don't want to do that....
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 application. If the web service is on my localhost I can access it. I can access an internet web service from a webapp but cannot access the same web service from a windows app. Using a simple win app provided with the google api and I get
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 could access for some public folders ( everyone can access) the strange thing is i try to use another workstation, there is no problem for me to access that folders.
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 = adodb.NewADOConnection('access') # mxodbc required dsn = "Driver={Microsoft Access Driver (*.mdb)};Dbq=d:\\inetpub\\adodb\ \northwind.mdb;" conn.Connect(dsn)
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: 'base::~base' : cannot access protected member declared in
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" %> On the Master Page I have a public property exposed: Public Property ErrorMessage() As String Get Return txtError.InnerText End Get
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 static controls. However I would like to move on to attempt to create some dynamic controls. So I set out to work with a radiobuttonlist questionnaire. I have a database and in that DB I have 2 tables one which holds the questions and the other...
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.