Home>Article>Backend Development> 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
WBOY Original
2016-07-29 08:51:55 1754browse

Foreword

I used to useWindows 7system. I installedWindows 10some 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 commandnetstat -ano, I found that port 80 is occupied by the System process with pid 4. According to previous experience: one is occupied byIIS; the other isSQL Server Reporting ServicesReporting service occupied.

Note: If the system isWindows 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 commandnetsh 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旗舰版

  • OpenTask Manager, selectDetails, find the corresponding process, then right-clickGo 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