By default, Windows 10 starts Microsoft IIS on port 80, which is the same default port used by Apache in XAMPP. As a result, Apache cannot bind to port 80.
To disable IIS from running on port 80, follow these steps:
Open the Services panel in Computer Management.
Search for the ‘World Wide Web Publishing Service’ and select it.
Click the link to ‘Stop the service’.
Double-click the service name.
In the ‘Startup type’ field, change the startup type to ‘Disabled’.
Click ‘OK’ to save your changes.
You should now be able to start Apache in XAMPP on port 80.
For more information, refer to the ‘Troubleshoot Apache Startup Problems’ guide included with XAMPP or this forum post.
以上资料来自XAMPP FAQS
下面说说我的具体解决方法:
80端口占用查找–>kill命令无法中止pid为4的程序–>一查看是NT kernel & system–>解决方案来自百度:80端口的烦恼:[3]清除NT Kernel占用80端口