Problem: trying to start an Apache server on port 80 fails due to the fact that the 80 is not available.
When accessing the port, the following message appears: “HTTP Error 404. The requested resource is not found.”
Steps to correct the problem:
netstat -ano | findstr :80
- Windows Task Manager with PID column enabled;
- Under the identified PID a program named system is shown (ntoskrnl.exe when accessing the properties option)
- After more research, it appears that Windows Kerner runs an IIS instance automatically for certain applications. Uninstall the applications to open port 80. In my case, it was Microsoft SQL Server, which I uninstalled from Control Panel.
Sources: