0

I need to have sites running through IIS at port 443 and port 80 but these two ports are used by a System process (PID 4) with a description of NT Kernel & System after I run the netstat -aon command from an elevated command prompt?

What is the problem with this case and how can I end this process because I can't seem to end it.

1

I assume IIS is already installed on your server.

Part of IIS is the kernel mode driver http.sys which does the actual listening on the ports 80 and 443. Because it is a kernel mode drive, it runs within the system process.

http.sys forwards http requests to the user-mode part of IIS.

So you should be good to go.

1

Do not think about ending the System process. It is critical to the functioning of Windows.

According to a similar question on Stack Overflow, below services should be checked for the problem of System process ("NT Kernel & System"; PID: 4) using HTTP/80 port (and HTTPS/443 similarly):

  • Web Deployment Agent Service
  • SQL Server Reporting services
  • IIS
  • World Wide Web Publishing service
  • IIS Admin Service

See if you have any of the above services and running. If you do, check their configurations.

(Yes, IIS is on the list too. You might already have IIS installed along with other applications but you didn't know.)

If you can't figure it out, you may also try browsing http://127.0.0.1 (port 80) and https://127.0.0.1 (port 443) to see if there is any information indicating which applications/services might be serving the web pages.

After finding out the causing applications/services, either remove them from the system or change the port numbers as you see fit.

  • Too bad, none of these are running and the System process is still listening on port 443... Nice overview though... – Wouter Mar 14 '17 at 14:54
0

PID 4 usually means a native Microsoft based Windows service, which means kernel level.

Try stopping services one by one, and check if it solved the problem.

Disable the service/uninstall the feature that caused the issue.

Usual services are: Routing and RAS, anything noting IIS or World Wide Puplishing, Exchange Windows Sync Share, Web Deployment Agent Service, SQL Server Reporting Services, File Server Storage Reports Manager and similar.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.