Port 801 is directly occupied (resolved!!! )

Source: Internet
Author: User
Tags split

This post was last edited by fair007 on 2013-6-26 17:44

2013-6-17 09:54 upload download attachment (122.3 KB)
80 occupied



As shown in the figure
has been self-addressed, there are classmates in the question, the following according to my situation to tell you: (reprint)(I am the case is the port 80 by the system process occupation)


Computer-based students are recommended to try.

First look at which process the 80 port was occupied by:




1 Start-run-input cmd (run the cmd command requires an administrator user to log in, or there may be no permissions, such as a hint)


CMD interface input Netstat-ano (note plus space) can see 80 ports are PID4 occupied,







2 Open Task Manager-process-view, select columns, check PID
You can see that PID 4 is occupied by NT kernel & System



-----------------------------------------------------------the middle of the split line, you don't see--------------------------------------------------- ---
I've been searching the internet for a long time to find a solution
http://www.cameroncooke.com/2009/01/25/ windows-7-uses-port-80-and-makes-it-impossible-to-install-apache-solution/comment-page-1/#comments
Original: (English--slightly)
Microsoft Engineer Reply (English--slightly)


Translate as follows:
The process is HTTP. sys. It is the driver component of the HTTP API, the HTTP stack server. If the port is consumed by HTTP. SYS, some applications that are using HTTP. sys are running. This is why Apache is prevented from running because HTTP. SYS occupies port 80. We have provided an application mechanism to help control port sharing, but I need to investigate what special application is causing you to encounter this difficulty. If you can provide us with the output of the "Netsh http show servicestate" command, I can find out which application is using HTTP. sys.


Before you disable HTTP. sys, follow these steps to run the command:
1. sc config HTTP stat = demand
2. Reboot
3. Run the command (Netsh http show servicestat) as Administrator
-----------------------------------------------------------the middle of the split line without looking at the----------------------------------------------------- -------------------


Continue:

Follow the steps below to disable HTTP. SYS: (Enter the command in the CMD interface as in the first step)


One: Run the net stop HTTP


Press Y to determine





Two Run Sc config http start= disabled


Now look at the port occupancy, enter Netstat-ano
Found PID 4 takes up 445 ports and solves the problem.





Http://bbs.3dmgame.com/thread-3891438-1-1.html


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.