The port 80 of the Win10 System is occupied by the System. The solution cannot be started by Apache.

Source: Internet
Author: User
: This article mainly introduces how to solve the problem that Port 80 of the Win10 System is occupied by the System and Apache cannot be started. if you are interested in the PHP Tutorial, refer to it. In Windows 10, after XAMPP is installed, Apache cannot be started, port 80 is always prompted to be occupied, and no other software is started, the default port 80 is occupied by win10.
How to modify it?
Solution:

  1. Start cmd and enter regedit to open the registry;

  2. Find HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ services \ HTTP;

  3. Find the Start item on the right and change its value to 0;

  4. Restart the System. The System process does not occupy port 80;

  5. After the restart, start Apache again.

In addition, you can run the cmd command to check whether the computer port is occupied. take Port 80 as an example:

  • Start cmd and enter netstat-aon | findstr: 80 and 80 to display the port number.

  • We can see that 0.0.0.0: 80 0.0.0.0: 0 LISTENING 4 indicates that a local program is using port 80 for LISTENING.

  • To find out which program occupies port 80, enter tasklist | findstr "4" in the cmd command, and 4 is the previous process ID;

  • The specific program occupies port 80.

The above describes how to solve the problem that Port 80 of the Win10 System is occupied by the System and Apache cannot be started, including some content. I hope to help some friends who are interested in the PHP Tutorial.

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.