Page 1 of 1

Cannot connect to localhost

PostPosted: 28. July 2009 13:54
by waynecod
Hi,
I’m having problems with Apache server 2.2 on XP.
The server starts the service with no problems.
I get Syntax ok when I test the server configuration.
But in IE I keep getting the message ‘The page cannot be found’
In the conf. file I have:
Listen 127.0.0.1:8080 and
ServerName 127.0.0.1:8080

Here is a copy from my error.log
[Tue Jul 28 13:04:42 2009] [notice] Parent: Child process exited successfully.
[Tue Jul 28 13:04:44 2009] [notice] Apache/2.2.11 (Win32) configured -- resuming normal operations
[Tue Jul 28 13:04:44 2009] [notice] Server built: Dec 10 2008 00:10:06
[Tue Jul 28 13:04:45 2009] [notice] Parent: Created child process 7748
[Tue Jul 28 13:04:45 2009] [notice] Child 7748: Child process is running
[Tue Jul 28 13:04:45 2009] [notice] Child 7748: Acquired the start mutex.
[Tue Jul 28 13:04:45 2009] [notice] Child 7748: Starting 64 worker threads.
[Tue Jul 28 13:04:45 2009] [notice] Child 7748: Starting thread to listen on port 8080.

I’ve looked through the web many having the same problem but no answers.
Any one here can help?

Wayne

Re: Cannot connect to localhost

PostPosted: 28. July 2009 16:08
by Wiedmann
But in IE I keep getting the message ‘The page cannot be found’

Which URI did you try to access?

Re: Cannot connect to localhost

PostPosted: 28. July 2009 16:13
by waynecod
I tryed http://localhost and 127.0.0.1

Re: Cannot connect to localhost

PostPosted: 28. July 2009 16:41
by waynecod
Have just connected but with http://127.0.0.1:8080

Is it now woking how it should be?

Wayne

Re: Cannot connect to localhost

PostPosted: 28. July 2009 16:47
by Wiedmann
Is it now woking how it should be?

Sure. As defined in your configuration, Apache is listening on port 8080. Thus you have to add the port to each URI.

Re: Cannot connect to localhost

PostPosted: 28. July 2009 16:58
by aj123cd
Why can't you use port 80? please let me know?

Re: Cannot connect to localhost

PostPosted: 28. July 2009 18:28
by waynecod
I get an error message on starting the server: 'The requested operation has failed' and the server does not start.

Wayne