Workaround for Windows 80 ports being consumed by the process system

Source: Internet
Author: User

Yesterday just updated the WINDOWS10, the overall effect is pretty good, but today in the Apache server on the time but found that Apache inexplicably open, initially thought is the issue of permissions, and then use the Administrator's console to invoke command net start Apache2.4, the result is still unable to open. Manually start service error "windows can no longer start Apache on the local computer, check the system time log for more information." If this is a non-Microsoft service, contact your service vendor and refer to the specific service error code 1. "as shown:

Windows can no longer start Apache on the local computer, consult the system time log for more information. If this is a non-Microsoft service, contact your service vendor and refer to the specific service error code 1.

Seeing this, I have manual CD to Apache Httpd.exe directory, executed a bit of httpd, this reason found, as shown in:

(OS 10013) makes an attempt to access the socket in a way that is not allowed by access rights. : AH00072:make_sock:could not bind to address 127.0.0.1:80 ah00451:no listening sockets available, shutting do WN ah00015:unable to open logs

You can see that the error is caused by a socket binding error, which can be determined that the 80 port of Apache is occupied. So use the command Netstat-ano to see exactly which program is taking up port 80, the result of Port lookup:

See 80 port by PID 4 system process Occupy, oh, I want to say a word I wipe what ghost +_+. Think carefully, the general program will not occupy 80, then use the command netsh http show servicestate to see the current HTTP service status, found that there is a problem, as shown in:

As you can see, port 80 is occupied by a defaultapppool, if you use the child shoes of IIS, this time must have thought of the reason, here we still have to go down to find the reason, the figure can be seen in the controller process ID 4640, then Just keep looking at what the 4640 process is, go to the Task Manager, find the PID4640 process, right-click on the service, and you can see the service where the current process is located:

Seeing the services in the diagram, here are the reasons why the IIS World Wid Web Publishing Service is a problem.

Solution:

Control Panel –> program –> Enable or disable Windows features –> find the Internet information Service, turn it off

    • Edit
    • Delete

Recently the computer has happened 80 port is occupied, simple Baidu after the resolution, when restarting the computer when the situation is occupied. Fortunately today, 80 ports and 8080 ports have been occupied, the unbearable decision to resolve the problem of the pit father, After re-Baidu to solve the problem perfectly, the following post solution:

One: Original address: http://www.2cto.com/os/201505/399603.html

I am using SQL Server Reporting services to stop this service and set it to start manually

If you do not have SQL Server installed, please refer to the following address

===============================================================================

Suddenly found that 80 port is inexplicably occupied, I look at the System this process

Can not end this goods, so began to slowly see what is the occupation of the

First of all, open the cmd run this sentence, 80 port by the system occupation, must be the HTTP service to make the ghost

?
1 netsh http show servicestate

See ReportServer slightly puzzled

Let's go ahead and get the PID using port 80, what are we waiting for? Open taskmgr! (Task Manager)

How the Task Manager views the PID:

Above in cmd we get PID = 4212, now let's see what's in the mischief

See the result, suddenly dawned! If you're not sure what the process is, we'll right him.-Open the file location

Everyone should understand that now. This is what I'm hogging. SQL Server Reporting Services

Finally I went to the services.msc to stop him and set up the service for a manual fix.

How to view current 80 port occupancy:

?
1 netstat -ano | findstr 0.0.0.0:80

This command entered and enter, no content in the middle means no occupation

Two: Original address: https://www.caogenjava.com/detail/75.html

Today I would like to run a project on the server2008 server with 80 ports, but the system prompts 80 ports to be occupied, the port is occupied this is common in the development process, check who was occupied, kill him is not finished. A check does not matter, the result is too strange, use the Netstat-ano command to view, 80 port by the PID 0 process to occupy, with the task Manager, this PID 0 process unexpectedly is the system idle process, that is, systems idle processes, this process can not get rid of, So a pass Baidu.

First in a Baidu library found a post, said to be occupied by SQL Server database, because my server did also installed the database, originally thought that is its reason, but according to the instructions in the article after processing 80 port or is occupied, after restarting the server still. The address of the post is this: "Resolve Windows Server system process occupies 80 port."

Finally in other posts found the answer, not much nonsense, directly on the plan.

Open Device Manager, click View-Show hidden devices in the menu bar, you can see non-Plug and Play drivers, expand, find HTTP, double-click to switch to the Driver tab, set the type to disabled, OK, reboot the system. ( Note: In theory, it is possible for you to stop directly, but the system always dies after I click.) Disabled or set, or 80 is occupied after the system restarts)

Workaround for Windows 80 ports being consumed by the process system

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.