Skype takes up 80 ports, causing Apache to not start

Source: Internet
Author: User

Recently found that Apache failed to start, check log also no fruit, through the manual launch prompts the following error:

(OS 10048) typically each socket address (Protocol/network address/port) is allowed only once. : Make_sock:could not bind to address 0.0.0.0:80

No listening sockets available, shutting down

Unable to open logs

This is due to the 80 port is occupied, the use of 80 ports to stop the process.

How do I see that process takes up 80 ports?

Start--run--cmd Enter the command prompt input Netstat-ano you can see all the connected PID in the task Manager to find the program corresponding to this PID if the task Manager does not have the PID this item, you can select "View"-"Choose Column" in Task Manager

Often, when we start the application to find that the system needs the port to be occupied by other programs, how to know who owns the port we need, many people have a headache, the following is a very simple way to introduce

If we need to determine who's taking up our 80 ports,

Windows platform

Execute under Windows command Line window:

C:>netstat-aon|findstr "80"

TCP 127.0.0.1:80 0.0.0.0:0 Listening 2448

Do you see that the port is occupied by a process number 2448 process, and continue with the following command:

C:>tasklist|findstr "2448"

Skype.exe 2016 Console 0 16,064 K

It turned out that Skype occupied 80 ports, because a period of time before the foreign MSN Stop Service, the company also followed the switch to Skype online communication, installed Skype, because it did not start Apache, so the 80 port was Skype to swoop in.

In the Skype menu "Tools > Options", find "Advanced > Connection", remove the "80 port and 443 port as the standby port for the access device", so that it does not occupy 80 ports.

or change Apache port to other, such as 8080, also can solve the problem.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.