Workaround for 80-port process occupied by pid=4

Source: Internet
Author: User

Directory

1. Preface

2. Solutions

Content

1. Preface

Today in the launch of the program built-in Nginx, the error has been reported that 80 ports are occupied. So first through the command line query found 80 port by the PID 4 process occupied, but through a variety of methods can not end the process, finally found a way to solve the twists and turns finally.

2., to resolve the specific steps

A, query 80 port by which process occupied: Netstat-aon | Findstr "80"

==> found that 80 ports are occupied by PID 4 process

B, win+r open DOS command line---input regedit--> find hkey_local_machine\system\currentcontrolset\services\http--> Find a DWORD value start, change it to 4--> restart the computer

C, the discovery process will not continue to occupy port 80.

80 port is pid=4 by the process occupied by the solution

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.