Scenario 1:
Run cmd as administrator, enter net stop http, or "Y" if prompted if you really need to stop these services; After completion enter: SC config http start=disabled
Scenario 2:
Ctrl+x, then select "Computer Management", expand "Services and Applications", find "services", find "World Wide Web Publishing Service", double-click Open, change the startup type to manual, changing the service status to "stop"; If port 80 is still occupied, you will also need to stop the following services: "SSDP Discovery" "Print Spooler" "HomeGroup Provider" "Function Discovery Resource Publication "" Function Discovery Provider Host
Scenario 3:
Run regedit as Administrator open key value: Hkey_local_machine\system\currentcontrolset\services\http find start on the right, change it to 0 restart system, System process does not consume 80 ports
Resolution WIN10 default 80 port Usage