WAMP server doesnt work, no listening sockets avalible, unable to open logs

匿名 (未验证) 提交于 2019-12-03 01:00:01

问题:

My WAMP server isn't working, when I hover over the orange W icon i get "1 of two services running".

I did the right click on the icon, selected tools, selected test port 80 I got:

***** Test which uses port 80 *****

===== Tested by command netstat filtered on port 80 =====

'find' is not recognized as internal or external command, operable program or batch file. Port 80 is not associated with TCP protocol 'find' is not recognized as internal or external command, operable program or batch file. Port 80 is not associated with TCP protocol

===== Tested by attempting to open a socket on port 80 =====

Your port 80 is actually used by :

Server: Apache/2.4.17 (Win64) PHP/5.6.16

Press Enter to exit...

Then I tested port 3306 (that is supposed to be used by MySQL if Im not mistaken) in the same way as port 80.

I got:

***** Test which uses port 3306 *****

===== Tested by command netstat filtered on port 3306 =====

'find' is not recognized as internal or external command, operable program or batch file. Port 3306 is not associated with TCP protocol 'find' is not recognized as internal or external command, operable program or batch file. Port 3306 is not associated with TCP protocol

Press Enter to exit...

I went on the internet in search of a solution, none helped so far. I found some helpfull advice on stackoverflow so I did the folowing few things:

Run cmd in administrator mode. Went to:

C:\wamp64\bin\apache\apache2.4.17\bin

and run:

httpd.exe -e debug

At the end of the output I got:

H01575: loaded module php5_module from C:/wamp64/bin/php/php5.6.16/php5apache2_4.dll (OS 10048)Only one usage of each socket adress (protocol/network adress/port) is normally permitted. AH00072: make_sock: could not bind to adress [ : : ]:80 (OS 10048)Only one usage of each socket adress (protocol/network adress/port) is normally permitted. AH00072: make_sock: could not bind to adress 0.0.0.0:80

AH00451: no listening socket avalible, shutting down

AH00015: Unable to open logs

Than I run resmon.exe in Start menu. There I saw that port 80 is used by httpd.exe. When I canged the port of the server to 8080, port 80 (in resmon view) disappeared and 8080 was taken over by httpd.exe. The above output also changed accordingly. Port 3306 was nowhere to be seen.

Iam confused. Is port 80 taken or not? Im geting mixed messages here. Any help would be greatly appreciated or at least a point of direction where to look.

Maybe I should also add that because of this persistant problem I reinstalled my WAMP server. Did not help. Running WAMP as an admin didnt help as well and I do not have Skype on my desktop.

回答1:

Slana,

I think I had a similar problem with Wamp server in the past. Even though I kept changing localhost port number to 80, 8080, and etc. it did not work. So, this is what I did:

  • Clicked on the Wamp Server icon.

  • Apache -> Service -> Remove Service

  • MySQL -> Service -> Remove Service

  • Then reinstall both Apache and MySQL service.

  • Restart the Wamp Server.

Sorry, I wish I could help you more.. I am a beginner in programming and still learning. I hope this helps with fixing the error.



标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!