WAMP - Your port 80 is actually used - Error

拟墨画扇 提交于 2019-11-26 23:05:02

问题


I installed Wamp server and when I open it, it never gets online. It always stays orange (offline). I read something about Skype, but I don't even have Skype installed and when I go to Apache > Service > Test port 80 it says: Your port 80 is actually used

Any ideas how to make this work?


回答1:


I've solved this today!! If you are on Windows, You go to

"Control Panel" >> "System And Security" >>  "Administrative Tools" >> "Component Services" >> "Services (LOCAL)"

Now, since you are using WAMP and not IIS you should disable the "World Wide Web Publishing Service" and the "Web Deployment Agent Service". You are good to go.

If this doesn't work you probably have Skype using Port 80 (if you actually have Skype). (If you have IIS installed you should also disable it. But if you don't have it installed you shouldn't worry!)




回答2:


If you are using windows machine the port 80 is used by the IIS Server and Skype also used the port 80. that why it says that port 80 is already used. To avoid the conflict,change the port number of the wamp server to some other number,for example 5050.

for changing the port number of the wamp server go to: C:\wamp\bin\apache\apache2.4.9\conf\httpd.conf

In that file change the listen port to 5050.

#Listen 12.34.56.78:5050

Listen 0.0.0.0:5050

Listen [::0]:5050

and you access the wamp server at localhost:5050

It works for me and I hope it works.




回答3:


If you are in windows, try:

netstat -b

on Commandline, this will give you an information what file is using port 80, it should look like this:

[httpd.exe]
  TCP    0.0.0.0:80             YOUR_PC:0                   ABHÖREN
[httpd.exe]
  TCP    [::1]:80               YOUR_PC:53342               HERGESTELLT
[httpd.exe]
  TCP    [::1]:80               YOUR_PC:53343               HERGESTELLT
[httpd.exe]
  TCP    [::1]:80               YOUR_PC:53344               HERGESTELLT


来源:https://stackoverflow.com/questions/19016388/wamp-your-port-80-is-actually-used-error

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