#2002 - No connection could be made because the target machine actively refused it.
Posted by: bussinessman (---.beamtele.net)
Date: December 12, 2012 05:30PM

HI every one
after installing wamp server
tried in browser localhost it displays wamp server details
but
when i tried phpmyadmin it shows error

#2002 - No connection could be made because the target machine actively refused it.

any one help asap.

Thank you
sri

Options: ReplyQuote
Re: #2002 - No connection could be made because the target machine actively refused it.
Posted by: bussinessman (---.beamtele.net)
Date: December 12, 2012 05:36PM

This is my apache log

[Wed Dec 12 21:38:11 2012] [notice] Apache/2.2.22 (Win64) PHP/5.4.3 configured -- resuming normal operations
[Wed Dec 12 21:38:11 2012] [notice] Server built: May 13 2012 19:41:17
[Wed Dec 12 21:38:11 2012] [notice] Parent: Created child process 8780
[Wed Dec 12 21:38:11 2012] [notice] Child 8780: Child process is running
[Wed Dec 12 21:38:11 2012] [notice] Child 8780: Acquired the start mutex.
[Wed Dec 12 21:38:11 2012] [notice] Child 8780: Starting 64 worker threads.
[Wed Dec 12 21:38:11 2012] [notice] Child 8780: Starting thread to listen on port 80.
[Wed Dec 12 21:38:11 2012] [notice] Child 8780: Starting thread to listen on port 80.
[Wed Dec 12 21:38:42 2012] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Wed Dec 12 21:38:42 2012] [notice] Child 8780: Exit event signaled. Child process is ending.
[Wed Dec 12 21:38:43 2012] [notice] Child 8780: Released the start mutex
[Wed Dec 12 21:38:44 2012] [notice] Child 8780: All worker threads have exited.
[Wed Dec 12 21:38:44 2012] [notice] Child 8780: Child process is exiting
[Wed Dec 12 21:38:44 2012] [notice] Parent: Child process exited successfully.
[Wed Dec 12 21:38:44 2012] [notice] Apache/2.2.22 (Win64) PHP/5.4.3 configured -- resuming normal operations
[Wed Dec 12 21:38:44 2012] [notice] Server built: May 13 2012 19:41:17
[Wed Dec 12 21:38:44 2012] [notice] Parent: Created child process 8556
[Wed Dec 12 21:38:44 2012] [notice] Child 8556: Child process is running
[Wed Dec 12 21:38:44 2012] [notice] Child 8556: Acquired the start mutex.
[Wed Dec 12 21:38:44 2012] [notice] Child 8556: Starting 64 worker threads.
[Wed Dec 12 21:38:44 2012] [notice] Child 8556: Starting thread to listen on port 80.
[Wed Dec 12 21:38:44 2012] [notice] Child 8556: Starting thread to listen on port 80.
[Wed Dec 12 21:44:10 2012] [error] [client 127.0.0.1] File does not exist: C:/wamp/www/xampp

Options: ReplyQuote
Re: #2002 - No connection could be made because the target machine actively refused it.
Posted by: RiggsFolly (---.as13285.net)
Date: December 13, 2012 01:24PM

Well you have your DocumentRoot set incorrectly in httpd.conf (last line ) but thats not the real problem

You should check your HOSTS file

c:\windows\system32\drivers\etc\hosts

make sure it has this line

127.0.0.1 localhost


=======================================================

The hosts file is protected by windows, in order to save it you must have Administrator privilages.
Vista/W7/W8 you may think you are an Administrator BUT YOU ARE NOT.

To successfully save the hosts file do this to launch your editor with Admin Privilages.

Locate your editors icon on the desktop or from the Start menus ( notepad will do if you have nothing else )
left click + shift over your chosen editor icon - will show a menu.
select "Run As Administrator" from the menu.
Navigate your editor to the c:\windows\system32\drivers\etc\hosts file.

When you have made changes you will now be allowed to save them.

Options: ReplyQuote


Sorry, only registered users may post in this forum.