The default Apache port 80 is used, causing service failure. The default apache Port

Source: Internet
Author: User

The default Apache port 80 is used, causing service failure. The default apache Port

In practice, when running the Apache service, you may find that the default port 80 of Apache is occupied and the service cannot be started. However, you can find out which process cannot be used, how should we solve the problem at this time?

1) run the netstat-ano command in cmd to check which process occupies port 80.

2) then go to the task manager to close the process with PID 4 (the PID 4 is not found ).

Go to the tasklist command of cmd to check which program occupies PID process 4.

4) The result is System. However, the System program cannot be found in the task manager. It must be a ghost of the HTTP service. Run the netsh http show servicestate command.

5) It is found that PID 3268 occupies port 80 and ends the process directly in the task manager.

This article mainly introduces some O & M problems encountered when the default Apache port 80 is used up and cannot start the service.

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.