Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: Localhost and IP Address not working! Please Help! |
|
Author |
|
apache_user123
Joined: 29 Apr 2010 Posts: 2
|
Posted: Thu 29 Apr '10 23:54 Post subject: Localhost and IP Address not working! Please Help! |
|
|
Hi, I'am new to all of this apache server stuff, and I just have a couple of problems that aren't letting me get my site online. When I type http://localhost/ into the browser, I get a
"Oops! Google Chrome could not connect to localhost"
error.
Also, when I put my IP address into the URL Bar, I get once more the same message. I use port 81 for Apache and I have configured with my router and everything, including the conf\httpd folder, where I changed everything that mentioned ":80" to ":81"
Please Help, I'm been looking for hours of a solution!!! |
|
Back to top |
|
glsmith Moderator
Joined: 16 Oct 2007 Posts: 2268 Location: Sun Diego, USA
|
Posted: Fri 30 Apr '10 2:48 Post subject: |
|
|
Windows Firewall!
Just a guess but you do not mention it .. and 99.5% of the time it is the Windows Firewall getting in the way. Just disabling the thing is not the fix either.
Get in there and under exceptions "Add Port" and make it 81 TCP.
May not be it but it sure is a good first place to look along with Apache
s error log and the Windows event log (when Apache crashes) |
|
Back to top |
|
apache_user123
Joined: 29 Apr 2010 Posts: 2
|
Posted: Fri 30 Apr '10 3:40 Post subject: |
|
|
Thanks for the fast reply, I added the exception for port 81 but the problem still persists. I checked the error log and nothing seemed to be wrong, from the time I restarted Apache it said:
The Apache2.2 service is restarting.
The Apache2.2 service has restarted.
arent: Received restart signal -- Restarting the server.
[Thu Apr 29 21:33:35 2010] [notice] Child 1432: Exit event signaled. Child process is ending.
[Thu Apr 29 21:33:35 2010] [notice] Apache/2.2.15 (Win32) configured -- resuming normal operations
[Thu Apr 29 21:33:35 2010] [notice] Server built: Mar 4 2010 11:27:46
[Thu Apr 29 21:33:35 2010] [notice] Parent: Created child process 1308
[Thu Apr 29 21:33:36 2010] [notice] Child 1308: Child process is running
[Thu Apr 29 21:33:36 2010] [notice] Child 1432: Released the start mutex
[Thu Apr 29 21:33:36 2010] [notice] Child 1308: Acquired the start mutex.
[Thu Apr 29 21:33:36 2010] [notice] Child 1308: Starting 64 worker threads.
[Thu Apr 29 21:33:37 2010] [notice] Child 1432: All worker threads have exited.
[Thu Apr 29 21:33:37 2010] [notice] Child 1432: Child process is exiting
[Thu Apr 29 21:33:37 2010] [notice] Child 1308: Starting thread to listen on port 81.
Also, a couple of days back, my website was working fine, with localhost and my ip address working. But then I tried to add a virtual host and it all went wrong. I tried un-doing all the changes I had done, but putting my ip address into the URL still did nothing. Later, I simply re-installed Apache and configured it the way I did last time, however it still does not work, this time, however localhost does not work along with my ip address, too.
Any thoughts as to what may be my problem? Thanks |
|
Back to top |
|
glsmith Moderator
Joined: 16 Oct 2007 Posts: 2268 Location: Sun Diego, USA
|
Posted: Fri 30 Apr '10 3:51 Post subject: |
|
|
Pure luck on the fast reply
Start at begining.
does it work with 127.0.0.1?
probably not but try.
In your httpd.conf file what do you have for
Listen
ServerName |
|
Back to top |
|
|
|
|
|
|