WAMP server localhost not accessible
Posted by: varu87 (---.lnse2.ken.bigpond.net.au)
Date: August 05, 2014 04:02AM

Hi

I installed wampserver 2.5 in my windows 7 machine two days back.
Both the apache and sql services are installed and running. The icon has also turned green.
However, when I try to access localhost, it errors out with the message "Connection Timed Out". When I "test port 80" from the icon tray, it says "your port 80 is not actually used".
Running the netstat command, it shows that port 80 is used by the httpd.exe*32 process.

I don't have skype running in my machine. I uninstalled IIS and have stopped the Web Deploy service. There are no SQL related services running as well.

Moreover, there are no error logs reported in the eventvwr.

Could someone please help me with this. Have I missed anything. Any help will be greatly appreciated.

Thanks
Varun

Options: ReplyQuote
Re: WAMP server localhost not accessible
Posted by: varu87 (---.lnse2.ken.bigpond.net.au)
Date: August 05, 2014 04:13AM

Hi

On running the httpd.exe -e debug command, I got the following message:

AH00072: make_sock: could not bind to address 0.0.0.0:80
AH00451: no listening sockets available, shutting down
AH00015: Unable to open logs

It could not bind to port 80. However, checking the netstat command, it show that port 80 is bound with httpd.exe process.

Could you guys suggest what should be done next?

Thanks
Varun

Options: ReplyQuote
Re: WAMP server localhost not accessible
Posted by: varu87 (---.lnse2.ken.bigpond.net.au)
Date: August 05, 2014 05:39AM

Hi

Sorry, I forgot to add these details in the first post:

Version of Operating system: Windows 7 SP1
Version of Wamp Server installed: 2.5 - 32 bit
Version of Apache you are running: 2.4.9
Version of MySQL you are running: 5.6.17
Version of PHP you are running: 5.5.12

Thanks
Varun

Options: ReplyQuote
Re: WAMP server localhost not accessible
Posted by: RiggsFolly (---.dynamic.dsl.as9105.com)
Date: August 05, 2014 09:55AM

Just checking here, when you run the httpd -e debug you must stop the Apache service that is running from WampServer or the two services will block each other.

Was Apache running in WAMPServer when you did the [httpd -e debug] ???

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote
Re: WAMP server localhost not accessible
Posted by: varu87 (---.lnse2.ken.bigpond.net.au)
Date: August 05, 2014 01:56PM

Hi

Initially I executed the httpd -e debug command when the apache service was running. When I tried running the command by stopping the service, I got the following error:

(OS 10048)Only one usage of each socket address (protocol/network address/port) is normally permitte
d. : AH00072: make_sock: could not bind to address [::]:80

However, if I run the netstat command at this point, I don't see any process listening to port 80.

Thanks
Varun

Options: ReplyQuote
Re: WAMP server localhost not accessible
Posted by: RiggsFolly (---.dynamic.dsl.as9105.com)
Date: August 05, 2014 05:32PM

It seems possible that your IPV^ stack is ina bit of a mess. It can happen I have seen it a few times. If this is the issue try this ti reset the network stack

From a command window started using the 'Run as Administrator' option do :-

netsh winsock reset



Reboot if necessary

Try apache again

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote
Re: WAMP server localhost not accessible
Posted by: Otomatic (Moderator)
Date: August 05, 2014 06:45PM

Hi,

For a complete and total reset of network IP configuration, in command line do:
   netsh winsock reset
   netsh winsock reset catalog
   netsh int ip reset reset.log
   netsh int ipv4 reset reset.log
   netsh int ipv6 reset reset.log
   ipconfig /flushdns
Then restart the system.

Warning, this resets all the IP configuration that must be redone.

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote
Re: WAMP server localhost not accessible
Posted by: varu87 (---.lnse2.ken.bigpond.net.au)
Date: August 07, 2014 12:58AM

Thanks RiggsFolly and Otomatic for your help. This did the trick and I can now access localhost.

Options: ReplyQuote
Re: WAMP server localhost not accessible
Posted by: marc-choquette (---.76-23-96.mc.videotron.ca)
Date: October 11, 2014 04:26PM

hi

I had the same problem, but i stil have it after trying what is written here.
I am new to the domain and i tryied a lot of things and searched a lot of forums before posting my question.

I run a 64 bit windows 8.1

just installed wampserver 2.5, (Apache 2.4.9 / PHP 5.5.12 / MySql 5.6.17)

-port 80 is available
- IIS is deselected in windows features
- SQL is deactivated in services
- i don't have skype installed
- mscvr110.dll and mscvp110.dll are not missing
- i installed Apache service in the wamp menu
- wamp logo is green

I can't get to the localhost and I get this message in google chrome:

"this web page is not available (...) details: Error code: ERR_CONNECTION_TIMED_OUT"

thanks for your help!

Marc

Options: ReplyQuote
Re: WAMP server localhost not accessible
Posted by: RiggsFolly (---.dynamic.dsl.as9105.com)
Date: October 13, 2014 09:38AM

Have you tried accessing with IE or FireFox? Chrome can be a little picky about localhost!

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote
Re: WAMP server localhost not accessible
Posted by: md sameer (---.79.156.67.dvois.com)
Date: July 29, 2015 07:26PM

i have also same problem can you help me..

Options: ReplyQuote
Re: WAMP server localhost not accessible
Posted by: RiggsFolly (---.as43234.net)
Date: July 29, 2015 07:47PM

Hi md

Its would be better to start a new thread as if the answers here didnt help then we had better start again.

Please include the answers to these questions in your forst post [forum.wampserver.com]

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote


Sorry, only registered users may post in this forum.