Port 80 is being used by SYSTEM (PID 4)

If your application can’t start anymore on port 80 or you see HTTP Error 404. The requested resource is not found. it looks like http.sys placed reservation of port 80 and your application can’t start anymore.

In most cases this could happen after Windows Update or SCCM agent pushing updates and the agent won’t do the proper cleanup of reserved HTTP namespace.

For example tomcat, apache, Nginx won’t be accessible if using port 80. To verify something is listening on your desired port you can see the output of:

Or

If you will see System is using this port you must delete the reservation of such port:

You should see in Reserved URL port 80 like this:

If you do not recognize them delete them you can delete them (or disable BranchCache):

Reboot the machine and now your application should be able to bind port 80 back.

The first URL is used by the Windows Communication Framework; this web page tells you how to modify or delete it.

The second one is assigned to [MS-PCHC]: Peer Content Caching and Retrieval: Hosted Cache Protocol, which appears to be used for subnet-level peer caching as part of Windows BranchCache.

The third one is assigned to [MS-PCCRR]: Peer Content Caching and Retrieval: Retrieval Protocol, which also part of Windows BranchCache.

https://devblogs.microsoft.com/oldnewthing/20180703-00/?p=99145

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.