Why can't I connect to http://localhost or http://127.0.0.1

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

Why can't I connect to http://localhost or http://127.0.0.1

Postby collesco » 12. January 2009 17:18

Hi
On the control panel it says:
SVC ticked Apache Start
SVC unticked Mysql Running Start Admin

When I click start Apache, it says Apache started, running appears and then after 3 seconds disappears again. When trying to connect to http://localhost it just says Internet Explorer Cannot Display the Webpage.

What do I do now???
collesco
 
Posts: 5
Joined: 12. January 2009 16:58

Re: Why can't I connect to http://localhost or http://127.0.0.1

Postby glitzi85 » 12. January 2009 17:27

Start Apache with the batch file:

Code: Select all
C:\xampp\apache_start.bat


to get an error message.

glitzi
User avatar
glitzi85
 
Posts: 1920
Joined: 05. March 2004 23:26
Location: Dahoim

Re: Why can't I connect to http://localhost or http://127.0.0.1

Postby collesco » 12. January 2009 17:32

Hi

When I do that, it says Apache started.... then closes. No error message.
collesco
 
Posts: 5
Joined: 12. January 2009 16:58

Re: Why can't I connect to http://localhost or http://127.0.0.1

Postby glitzi85 » 12. January 2009 17:37

What Operating System do you have?

Please poste the content of this file C:\xampp\apache\logs\error.log

glitzi
User avatar
glitzi85
 
Posts: 1920
Joined: 05. March 2004 23:26
Location: Dahoim

Re: Why can't I connect to http://localhost or http://127.0.0.1

Postby collesco » 12. January 2009 17:39

Hi I am using windows xp home edition service pack 3
collesco
 
Posts: 5
Joined: 12. January 2009 16:58

Re: Why can't I connect to http://localhost or http://127.0.0.1

Postby collesco » 12. January 2009 17:42

Error log:

Mon Jan 12 15:42:51 2009] [notice] Digest: generating secret for digest authentication ...
[Mon Jan 12 15:42:51 2009] [notice] Digest: done
[Mon Jan 12 15:43:02 2009] [notice] Apache/2.2.11 (Win32) DAV/2 mod_ssl/2.2.11 OpenSSL/0.9.8i mod_autoindex_color PHP/5.2.8 configured -- resuming normal operations
[Mon Jan 12 15:43:02 2009] [notice] Server built: Dec 10 2008 00:10:06
[Mon Jan 12 15:43:02 2009] [notice] Parent: Created child process 1616
[Mon Jan 12 15:43:03 2009] [notice] Digest: generating secret for digest authentication ...
[Mon Jan 12 15:43:03 2009] [notice] Digest: done
[Mon Jan 12 15:43:04 2009] [notice] Child 1616: Child process is running
[Mon Jan 12 15:43:04 2009] [crit] (OS 10022)An invalid argument was supplied. : Child 1616: setup_inherited_listeners(), WSASocket failed to open the inherited socket.
[Mon Jan 12 15:43:05 2009] [crit] Parent: child process exited with status 3 -- Aborting.
[Mon Jan 12 15:43:19 2009] [notice] Digest: generating secret for digest authentication ...
[Mon Jan 12 15:43:19 2009] [notice] Digest: done
[Mon Jan 12 15:43:20 2009] [notice] Apache/2.2.11 (Win32) DAV/2 mod_ssl/2.2.11 OpenSSL/0.9.8i mod_autoindex_color PHP/5.2.8 configured -- resuming normal operations
[Mon Jan 12 15:43:20 2009] [notice] Server built: Dec 10 2008 00:10:06
[Mon Jan 12 15:43:20 2009] [notice] Parent: Created child process 1936
[Mon Jan 12 15:43:21 2009] [notice] Digest: generating secret for digest authentication ...
[Mon Jan 12 15:43:21 2009] [notice] Digest: done
[Mon Jan 12 15:43:22 2009] [notice] Child 1936: Child process is running
[Mon Jan 12 15:43:22 2009] [crit] (OS 10022)An invalid argument was supplied. : Child 1936: setup_inherited_listeners(), WSASocket failed to open the inherited socket.
[Mon Jan 12 15:43:22 2009] [crit] Parent: child process exited with status 3 -- Aborting.
[Mon Jan 12 15:43:46 2009] [notice] Digest: generating secret for digest authentication ...
[Mon Jan 12 15:43:46 2009] [notice] Digest: done
[Mon Jan 12 15:43:47 2009] [notice] Apache/2.2.11 (Win32) DAV/2 mod_ssl/2.2.11 OpenSSL/0.9.8i mod_autoindex_color PHP/5.2.8 configured -- resuming normal operations
[Mon Jan 12 15:43:47 2009] [notice] Server built: Dec 10 2008 00:10:06
[Mon Jan 12 15:43:47 2009] [notice] Parent: Created child process 1356
[Mon Jan 12 15:43:48 2009] [notice] Digest: generating secret for digest authentication ...
[Mon Jan 12 15:43:48 2009] [notice] Digest: done
[Mon Jan 12 15:43:49 2009] [notice] Child 1356: Child process is running
[Mon Jan 12 15:43:49 2009] [crit] (OS 10022)An invalid argument was supplied. : Child 1356: setup_inherited_listeners(), WSASocket failed to open the inherited socket.
[Mon Jan 12 15:43:49 2009] [crit] Parent: child process exited with status 3 -- Aborting.
[Mon Jan 12 15:46:01 2009] [notice] Digest: generating secret for digest authentication ...
[Mon Jan 12 15:46:01 2009] [notice] Digest: done
[Mon Jan 12 15:46:02 2009] [notice] Apache/2.2.11 (Win32) DAV/2 mod_ssl/2.2.11 OpenSSL/0.9.8i mod_autoindex_color PHP/5.2.8 configured -- resuming normal operations
[Mon Jan 12 15:46:02 2009] [notice] Server built: Dec 10 2008 00:10:06
[Mon Jan 12 15:46:02 2009] [notice] Parent: Created child process 3704
[Mon Jan 12 15:46:04 2009] [notice] Digest: generating secret for digest authentication ...
[Mon Jan 12 15:46:04 2009] [notice] Digest: done
[Mon Jan 12 15:46:05 2009] [notice] Child 3704: Child process is running
[Mon Jan 12 15:46:05 2009] [crit] (OS 10022)An invalid argument was supplied. : Child 3704: setup_inherited_listeners(), WSASocket failed to open the inherited socket.
[Mon Jan 12 15:46:05 2009] [crit] Parent: child process exited with status 3 -- Aborting.
[Mon Jan 12 15:46:47 2009] [notice] Digest: generating secret for digest authentication ...
[Mon Jan 12 15:46:47 2009] [notice] Digest: done
[Mon Jan 12 15:46:48 2009] [notice] Apache/2.2.11 (Win32) DAV/2 mod_ssl/2.2.11 OpenSSL/0.9.8i mod_autoindex_color PHP/5.2.8 configured -- resuming normal operations
[Mon Jan 12 15:46:48 2009] [notice] Server built: Dec 10 2008 00:10:06
[Mon Jan 12 15:46:48 2009] [notice] Parent: Created child process 3296
[Mon Jan 12 15:46:49 2009] [notice] Digest: generating secret for digest authentication ...
[Mon Jan 12 15:46:49 2009] [notice] Digest: done
[Mon Jan 12 15:46:50 2009] [notice] Child 3296: Child process is running
[Mon Jan 12 15:46:50 2009] [crit] (OS 10022)An invalid argument was supplied. : Child 3296: setup_inherited_listeners(), WSASocket failed to open the inherited socket.
[Mon Jan 12 15:46:50 2009] [crit] Parent: child process exited with status 3 -- Aborting.
[Mon Jan 12 15:52:39 2009] [notice] Digest: generating secret for digest authentication ...
[Mon Jan 12 15:52:39 2009] [notice] Digest: done
[Mon Jan 12 15:52:40 2009] [notice] Apache/2.2.11 (Win32) DAV/2 mod_ssl/2.2.11 OpenSSL/0.9.8i mod_autoindex_color PHP/5.2.8 configured -- resuming normal operations
[Mon Jan 12 15:52:40 2009] [notice] Server built: Dec 10 2008 00:10:06
[Mon Jan 12 15:52:40 2009] [notice] Parent: Created child process 624
[Mon Jan 12 15:52:41 2009] [notice] Digest: generating secret for digest authentication ...
[Mon Jan 12 15:52:41 2009] [notice] Digest: done
[Mon Jan 12 15:52:42 2009] [notice] Child 624: Child process is running
[Mon Jan 12 15:52:42 2009] [crit] (OS 10022)An invalid argument was supplied. : Child 624: setup_inherited_listeners(), WSASocket failed to open the inherited socket.
[Mon Jan 12 15:52:42 2009] [crit] Parent: child process exited with status 3 -- Aborting.
[Mon Jan 12 15:52:56 2009] [notice] Digest: generating secret for digest authentication ...
[Mon Jan 12 15:52:56 2009] [notice] Digest: done
[Mon Jan 12 15:52:57 2009] [notice] Apache/2.2.11 (Win32) DAV/2 mod_ssl/2.2.11 OpenSSL/0.9.8i mod_autoindex_color PHP/5.2.8 configured -- resuming normal operations
[Mon Jan 12 15:52:57 2009] [notice] Server built: Dec 10 2008 00:10:06
[Mon Jan 12 15:52:57 2009] [notice] Parent: Created child process 1616
[Mon Jan 12 15:52:58 2009] [notice] Digest: generating secret for digest authentication ...
[Mon Jan 12 15:52:58 2009] [notice] Digest: done
[Mon Jan 12 15:52:59 2009] [notice] Child 1616: Child process is running
[Mon Jan 12 15:52:59 2009] [crit] (OS 10022)An invalid argument was supplied. : Child 1616: setup_inherited_listeners(), WSASocket failed to open the inherited socket.
[Mon Jan 12 15:52:59 2009] [crit] Parent: child process exited with status 3 -- Aborting.
[Mon Jan 12 15:53:19 2009] [notice] Digest: generating secret for digest authentication ...
[Mon Jan 12 15:53:19 2009] [notice] Digest: done
[Mon Jan 12 15:53:20 2009] [notice] Apache/2.2.11 (Win32) DAV/2 mod_ssl/2.2.11 OpenSSL/0.9.8i mod_autoindex_color PHP/5.2.8 configured -- resuming normal operations
[Mon Jan 12 15:53:20 2009] [notice] Server built: Dec 10 2008 00:10:06
[Mon Jan 12 15:53:20 2009] [notice] Parent: Created child process 1904
[Mon Jan 12 15:53:21 2009] [notice] Digest: generating secret for digest authentication ...
[Mon Jan 12 15:53:21 2009] [notice] Digest: done
[Mon Jan 12 15:53:22 2009] [notice] Child 1904: Child process is running
[Mon Jan 12 15:53:23 2009] [crit] (OS 10022)An invalid argument was supplied. : Child 1904: setup_inherited_listeners(), WSASocket failed to open the inherited socket.
[Mon Jan 12 15:53:23 2009] [crit] Parent: child process exited with status 3 -- Aborting.
[Mon Jan 12 16:04:10 2009] [notice] Digest: generating secret for digest authentication ...
[Mon Jan 12 16:04:10 2009] [notice] Digest: done
[Mon Jan 12 16:04:11 2009] [notice] Apache/2.2.11 (Win32) DAV/2 mod_ssl/2.2.11 OpenSSL/0.9.8i mod_autoindex_color PHP/5.2.8 configured -- resuming normal operations
[Mon Jan 12 16:04:11 2009] [notice] Server built: Dec 10 2008 00:10:06
[Mon Jan 12 16:04:11 2009] [notice] Parent: Created child process 1012
[Mon Jan 12 16:04:12 2009] [notice] Disabled use of AcceptEx() WinSock2 API
[Mon Jan 12 16:04:13 2009] [notice] Digest: generating secret for digest authentication ...
[Mon Jan 12 16:04:13 2009] [notice] Digest: done
[Mon Jan 12 16:04:14 2009] [notice] Child 1012: Child process is running
[Mon Jan 12 16:04:14 2009] [crit] (OS 10022)An invalid argument was supplied. : Child 1012: setup_inherited_listeners(), WSASocket failed to open the inherited socket.
[Mon Jan 12 16:04:14 2009] [crit] Parent: child process exited with status 3 -- Aborting.
[Mon Jan 12 16:04:58 2009] [notice] Digest: generating secret for digest authentication ...
[Mon Jan 12 16:04:58 2009] [notice] Digest: done
[Mon Jan 12 16:04:59 2009] [notice] Apache/2.2.11 (Win32) DAV/2 mod_ssl/2.2.11 OpenSSL/0.9.8i mod_autoindex_color PHP/5.2.8 configured -- resuming normal operations
[Mon Jan 12 16:04:59 2009] [notice] Server built: Dec 10 2008 00:10:06
[Mon Jan 12 16:04:59 2009] [notice] Parent: Created child process 2016
[Mon Jan 12 16:04:59 2009] [notice] Disabled use of AcceptEx() WinSock2 API
[Mon Jan 12 16:05:00 2009] [notice] Digest: generating secret for digest authentication ...
[Mon Jan 12 16:05:00 2009] [notice] Digest: done
[Mon Jan 12 16:05:01 2009] [notice] Child 2016: Child process is running
[Mon Jan 12 16:05:01 2009] [crit] (OS 10022)An invalid argument was supplied. : Child 2016: setup_inherited_listeners(), WSASocket failed to open the inherited socket.
[Mon Jan 12 16:05:01 2009] [crit] Parent: child process exited with status 3 -- Aborting.
[Mon Jan 12 16:06:42 2009] [notice] Digest: generating secret for digest authentication ...
[Mon Jan 12 16:06:42 2009] [notice] Digest: done
[Mon Jan 12 16:06:43 2009] [notice] Apache/2.2.11 (Win32) DAV/2 mod_ssl/2.2.11 OpenSSL/0.9.8i mod_autoindex_color PHP/5.2.8 configured -- resuming normal operations
[Mon Jan 12 16:06:43 2009] [notice] Server built: Dec 10 2008 00:10:06
[Mon Jan 12 16:06:43 2009] [notice] Parent: Created child process 896
[Mon Jan 12 16:06:44 2009] [notice] Digest: generating secret for digest authentication ...
[Mon Jan 12 16:06:44 2009] [notice] Digest: done
[Mon Jan 12 16:06:45 2009] [notice] Child 896: Child process is running
[Mon Jan 12 16:06:45 2009] [crit] (OS 10022)An invalid argument was supplied. : Child 896: setup_inherited_listeners(), WSASocket failed to open the inherited socket.
[Mon Jan 12 16:06:45 2009] [crit] Parent: child process exited with status 3 -- Aborting.
[Mon Jan 12 16:15:06 2009] [notice] Digest: generating secret for digest authentication ...
[Mon Jan 12 16:15:06 2009] [notice] Digest: done
[Mon Jan 12 16:15:07 2009] [notice] Apache/2.2.11 (Win32) DAV/2 mod_ssl/2.2.11 OpenSSL/0.9.8i mod_autoindex_color PHP/5.2.8 configured -- resuming normal operations
[Mon Jan 12 16:15:07 2009] [notice] Server built: Dec 10 2008 00:10:06
[Mon Jan 12 16:15:07 2009] [notice] Parent: Created child process 1592
[Mon Jan 12 16:15:08 2009] [notice] Digest: generating secret for digest authentication ...
[Mon Jan 12 16:15:08 2009] [notice] Digest: done
[Mon Jan 12 16:15:09 2009] [notice] Child 1592: Child process is running
[Mon Jan 12 16:15:09 2009] [crit] (OS 10022)An invalid argument was supplied. : Child 1592: setup_inherited_listeners(), WSASocket failed to open the inherited socket.
[Mon Jan 12 16:15:09 2009] [crit] Parent: child process exited with status 3 -- Aborting.
[Mon Jan 12 16:25:59 2009] [notice] Digest: generating secret for digest authentication ...
[Mon Jan 12 16:25:59 2009] [notice] Digest: done
[Mon Jan 12 16:26:00 2009] [notice] Apache/2.2.11 (Win32) DAV/2 mod_ssl/2.2.11 OpenSSL/0.9.8i mod_autoindex_color PHP/5.2.8 configured -- resuming normal operations
[Mon Jan 12 16:26:00 2009] [notice] Server built: Dec 10 2008 00:10:06
[Mon Jan 12 16:26:00 2009] [notice] Parent: Created child process 3916
[Mon Jan 12 16:26:01 2009] [notice] Digest: generating secret for digest authentication ...
[Mon Jan 12 16:26:01 2009] [notice] Digest: done
[Mon Jan 12 16:26:02 2009] [notice] Child 3916: Child process is running
[Mon Jan 12 16:26:02 2009] [crit] (OS 10022)An invalid argument was supplied. : Child 3916: setup_inherited_listeners(), WSASocket failed to open the inherited socket.
[Mon Jan 12 16:26:02 2009] [crit] Parent: child process exited with status 3 -- Aborting.
[Mon Jan 12 16:26:37 2009] [notice] Digest: generating secret for digest authentication ...
[Mon Jan 12 16:26:37 2009] [notice] Digest: done
[Mon Jan 12 16:26:38 2009] [notice] Apache/2.2.11 (Win32) DAV/2 mod_ssl/2.2.11 OpenSSL/0.9.8i mod_autoindex_color PHP/5.2.8 configured -- resuming normal operations
[Mon Jan 12 16:26:38 2009] [notice] Server built: Dec 10 2008 00:10:06
[Mon Jan 12 16:26:38 2009] [notice] Parent: Created child process 1528
[Mon Jan 12 16:26:39 2009] [notice] Digest: generating secret for digest authentication ...
[Mon Jan 12 16:26:39 2009] [notice] Digest: done
[Mon Jan 12 16:26:40 2009] [notice] Child 1528: Child process is running
[Mon Jan 12 16:26:40 2009] [crit] (OS 10022)An invalid argument was supplied. : Child 1528: setup_inherited_listeners(), WSASocket failed to open the inherited socket.
[Mon Jan 12 16:26:40 2009] [crit] Parent: child process exited with status 3 -- Aborting.
[Mon Jan 12 16:28:54 2009] [notice] Digest: generating secret for digest authentication ...
[Mon Jan 12 16:28:54 2009] [notice] Digest: done
[Mon Jan 12 16:28:55 2009] [notice] Apache/2.2.11 (Win32) DAV/2 mod_ssl/2.2.11 OpenSSL/0.9.8i mod_autoindex_color PHP/5.2.8 configured -- resuming normal operations
[Mon Jan 12 16:28:55 2009] [notice] Server built: Dec 10 2008 00:10:06
[Mon Jan 12 16:28:55 2009] [notice] Parent: Created child process 140
[Mon Jan 12 16:28:56 2009] [notice] Digest: generating secret for digest authentication ...
[Mon Jan 12 16:28:56 2009] [notice] Digest: done
[Mon Jan 12 16:28:57 2009] [notice] Child 140: Child process is running
[Mon Jan 12 16:28:57 2009] [crit] (OS 10022)An invalid argument was supplied. : Child 140: setup_inherited_listeners(), WSASocket failed to open the inherited socket.
[Mon Jan 12 16:28:57 2009] [crit] Parent: child process exited with status 3 -- Aborting.
[Mon Jan 12 16:29:27 2009] [notice] Digest: generating secret for digest authentication ...
[Mon Jan 12 16:29:27 2009] [notice] Digest: done
[Mon Jan 12 16:29:28 2009] [notice] Apache/2.2.11 (Win32) DAV/2 mod_ssl/2.2.11 OpenSSL/0.9.8i mod_autoindex_color PHP/5.2.8 configured -- resuming normal operations
[Mon Jan 12 16:29:28 2009] [notice] Server built: Dec 10 2008 00:10:06
[Mon Jan 12 16:29:28 2009] [notice] Parent: Created child process 3272
[Mon Jan 12 16:29:29 2009] [notice] Digest: generating secret for digest authentication ...
[Mon Jan 12 16:29:29 2009] [notice] Digest: done
[Mon Jan 12 16:29:30 2009] [notice] Child 3272: Child process is running
[Mon Jan 12 16:29:30 2009] [crit] (OS 10022)An invalid argument was supplied. : Child 3272: setup_inherited_listeners(), WSASocket failed to open the inherited socket.
[Mon Jan 12 16:29:31 2009] [crit] Parent: child process exited with status 3 -- Aborting.
[Mon Jan 12 16:33:45 2009] [notice] Digest: generating secret for digest authentication ...
[Mon Jan 12 16:33:45 2009] [notice] Digest: done
[Mon Jan 12 16:33:46 2009] [notice] Apache/2.2.11 (Win32) DAV/2 mod_ssl/2.2.11 OpenSSL/0.9.8i mod_autoindex_color PHP/5.2.8 configured -- resuming normal operations
[Mon Jan 12 16:33:46 2009] [notice] Server built: Dec 10 2008 00:10:06
[Mon Jan 12 16:33:46 2009] [notice] Parent: Created child process 1416
[Mon Jan 12 16:33:48 2009] [notice] Digest: generating secret for digest authentication ...
[Mon Jan 12 16:33:48 2009] [notice] Digest: done
[Mon Jan 12 16:33:48 2009] [notice] Child 1416: Child process is running
[Mon Jan 12 16:33:48 2009] [crit] (OS 10022)An invalid argument was supplied. : Child 1416: setup_inherited_listeners(), WSASocket failed to open the inherited socket.
[Mon Jan 12 16:33:49 2009] [crit] Parent: child process exited with status 3 -- Aborting.
[Mon Jan 12 16:35:17 2009] [notice] Digest: generating secret for digest authentication ...
[Mon Jan 12 16:35:17 2009] [notice] Digest: done
[Mon Jan 12 16:35:18 2009] [notice] Apache/2.2.11 (Win32) DAV/2 mod_ssl/2.2.11 OpenSSL/0.9.8i mod_autoindex_color PHP/5.2.8 configured -- resuming normal operations
[Mon Jan 12 16:35:18 2009] [notice] Server built: Dec 10 2008 00:10:06
[Mon Jan 12 16:35:18 2009] [notice] Parent: Created child process 1636
[Mon Jan 12 16:35:19 2009] [notice] Digest: generating secret for digest authentication ...
[Mon Jan 12 16:35:19 2009] [notice] Digest: done
[Mon Jan 12 16:35:20 2009] [notice] Child 1636: Child process is running
[Mon Jan 12 16:35:20 2009] [crit] (OS 10022)An invalid argument was supplied. : Child 1636: setup_inherited_listeners(), WSASocket failed to open the inherited socket.
[Mon Jan 12 16:35:20 2009] [crit] Parent: child process exited with status 3 -- Aborting.
collesco
 
Posts: 5
Joined: 12. January 2009 16:58

Re: Why can't I connect to http://localhost or http://127.0.0.1

Postby glitzi85 » 12. January 2009 19:25

You have some strange Firewall running? Disable it!

glitzi
User avatar
glitzi85
 
Posts: 1920
Joined: 05. March 2004 23:26
Location: Dahoim

Re: Why can't I connect to http://localhost or http://127.0.0.1

Postby collesco » 12. January 2009 21:13

Tried that, turned everything off and restarted the apache, and still get same message: wsasocket failed to open the interited socket. I have another option: to use joomla with a remote site I have, just not sure how to set this up, any ideas? :?
collesco
 
Posts: 5
Joined: 12. January 2009 16:58

Re: Why can't I connect to http://localhost or http://127.0.0.1

Postby glitzi85 » 12. January 2009 21:53

It is possible that you must uninstall the firewall.

For the remote site: Do you have SSH Access (if Linux Server) or RDP Access (if Windows Server)? Then i can post you an tutorial how to set up Joomla.

glitzi
User avatar
glitzi85
 
Posts: 1920
Joined: 05. March 2004 23:26
Location: Dahoim

Re: Why can't I connect to http://localhost or http://127.0.0.1

Postby Wiedmann » 12. January 2009 23:16

still get same message: wsasocket failed to open the interited socket

Try a software like "WinSock XP Fix" to correct your settings.
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Re: Why can't I connect to http://localhost or http://127.0.0.1

Postby Izzy » 12. January 2009 23:46

You could also try adding this to the bottom of your C:\xampp\apache\conf\httpd.conf file:
Win32DisableAcceptEx
Save the file then try and restart Apache.
Izzy
 
Posts: 3344
Joined: 25. April 2006 17:06


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 46 guests