Can't connect to localhost using Apache
I installed Apache on my Windows XP computer so that I would have the capability to test password and user validation locally via .htaccess.
Two problems:
When I install Apache, I'm presented with a dialog box to define my Domain and my Server Name. What should I put here? Do I just type "localhost"?
Anyway, no matter what I type, it finishes installing and then the server 'starts'. The main problems is that I can't seem to connect to localhost via a web browser.
Nothing seems to happen when I type http://localhost inside the address bar of a browser: no error message or anything. The progress bar on the browser very slowly moves until about half way, and then it just stays there.
I must be doing something wrong. Suggestions?
Answer:
First of all I would recommend to install apache & perl using this package http://www.xarka.com/optiperl/support.html as it has been tailored to be used with perl and is easy to install.
Now after apache starts, entering http://localhost/ or http://127.0.0.1/ should show the page index.html in c:\apache2\htdocs
If not, take a look in the error log and access log in c:\apache2\logs, as it could provide more information.
Are you running a firewall, either from windows XP or a third-party? If yes, make sure apache.exe is allowed proper access.
16.03.2004. 00:52
Hi
This is ambi.Actually we were developed one application.Our current browser window is not supporting for this.So i downloaded mozilla firefox.I was trying to connect my localhost with the port number of apache tomcat server.But it is not connecting.
I got some idea from google, means i changed manually the proxy setting of network connection in tools-->options-->network-->connecton settings in this vai.
Still it is not connecting to the localhost.Is there any changes to do in this settings?
thanks,
Ambi
> Make sure a firewall is not blocking apache. It's not a problem of any of the two browsers.
Write a comment