WAMP - Your port 80 is actually used - Error

2019-01-14 13:47发布

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?

3条回答
老娘就宠你
2楼-- · 2019-01-14 14:26

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
查看更多
欢心
3楼-- · 2019-01-14 14:36

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!)

查看更多
Animai°情兽
4楼-- · 2019-01-14 14:40

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.

查看更多
登录 后发表回答