Cannot connect to localhost

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Cannot connect to localhost

Postby waynecod » 28. July 2009 13:54

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
waynecod
 
Posts: 4
Joined: 28. July 2009 13:45

Re: Cannot connect to localhost

Postby Wiedmann » 28. July 2009 16:08

But in IE I keep getting the message ‘The page cannot be found’

Which URI did you try to access?
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Re: Cannot connect to localhost

Postby waynecod » 28. July 2009 16:13

I tryed http://localhost and 127.0.0.1
waynecod
 
Posts: 4
Joined: 28. July 2009 13:45

Re: Cannot connect to localhost

Postby waynecod » 28. July 2009 16:41

Have just connected but with http://127.0.0.1:8080

Is it now woking how it should be?

Wayne
waynecod
 
Posts: 4
Joined: 28. July 2009 13:45

Re: Cannot connect to localhost

Postby Wiedmann » 28. July 2009 16:47

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.
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Re: Cannot connect to localhost

Postby aj123cd » 28. July 2009 16:58

Why can't you use port 80? please let me know?
aj123cd
 
Posts: 62
Joined: 03. June 2009 08:19
Location: London,UK

Re: Cannot connect to localhost

Postby waynecod » 28. July 2009 18:28

I get an error message on starting the server: 'The requested operation has failed' and the server does not start.

Wayne
waynecod
 
Posts: 4
Joined: 28. July 2009 13:45


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 132 guests