Home >Backend Development >PHP Tutorial >Solution to the problem that port 80 under Windows is occupied by the System process with pid 4 windows7 download windows xp system download windows7 ultimate version

Solution to the problem that port 80 under Windows is occupied by the System process with pid 4 windows7 download windows xp system download windows7 ultimate version

WBOY
WBOYOriginal
2016-07-29 08:51:551850browse

Foreword

I used to use Windows 7 system. I installed Windows 10 some time ago, and I haven’t had time to set up the php environment yet. I tried a lot today, using nginx+php, the port is 80 (iis service has been stopped), nginx just can't start, and nine times out of ten, the port is occupied.

I found

Using the port mapping command netstat -ano, I found that port 80 is occupied by the System process with pid 4. According to previous experience: one is occupied by IIS; the other is SQL Server Reporting Services Reporting service occupied.

Note: If the system is Windows 7 and below, there is basically no problem in solving the above two.

Question

Both the two services mentioned above have been stopped. What program is occupying the port?

Method

  • Use HTTP command netsh http show servicestateLook in detail, you will find the information about port 80, write down the version.
    windows10,windows7,windows7旗舰版下载,windows xp,windows7激活密钥,windows 8,windows7激活工具,windows官网,windows10好用吗,windows 9,windows10系统下载,windows7系统下载,windows7下载,windows xp系统下载,windows7旗舰版

  • Then, search down and find the version corresponding to the above
    windows10,windows7,windows7旗舰版下载,windows xp,windows7激活密钥,windows 8,windows7激活工具,windows官网,windows10好用吗,windows 9,windows10系统下载,windows7系统下载,windows7下载,windows xp系统下载,windows7旗舰版

  • Open Task Manager, select Details, find the corresponding process, then right-click Go to Services
    windows10,windows7,windows7旗舰版下载,windows xp,windows7激活密钥,windows 8,windows7激活工具,windows官网,windows10好用吗,windows 9,windows10系统下载,windows7系统下载,windows7下载,windows xp系统下载,windows7旗舰版

  • After going to the service, right-click to stop the service.
    windows10,windows7,windows7旗舰版下载,windows xp,windows7激活密钥,windows 8,windows7激活工具,windows官网,windows10好用吗,windows 9,windows10系统下载,windows7系统下载,windows7下载,windows xp系统下载,windows7旗舰版

Call it a day

Everything is ready, you can safely code.

The above introduces the solution to the problem that port 80 is occupied by the System process with pid 4 under Windows, including Windows content. I hope it will be helpful to friends who are interested in PHP tutorials.

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn