Workaround for Windows Port 80 is occupied

Source: Internet
Author: User

Today, when running a very slow server, the error port 80 is occupied, so various ways to find solutions. Finally, my solution is listed, for people who encounter the same problem to do some reference.

The first step is to find out which program occupies the port

Run->cmd open DOS window

| findstr 80

Then, find this line

TCP 0.0.0.0:80 0.0.0.0 LISTENING 4744

The last 4744 is the PID that occupies this port, and then find the PID program

tasklist | Findstr 4744

Then, you can see

Java.exe 4744 Console 1 58660K

We can kill this process right away.

4744 -F

Note that if the 80 port is system, do not kill it randomly, that is the key process. This is a complicated situation, and some system service may be used (shown as systems), and I am in a situation where a service takes up 80 ports.

运行->service打开service

Pull to the end, there's a

World Wide Web Publishing Service

Turn off the service and my problem will be solved.

As a reference only, it cannot be applied in all cases.

Workaround for Windows Port 80 is occupied

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.