Company's computer from win7 upgrade to Win10, unable to start nginx, log output:2016/05/3009:26:01 [Emerg] 7024#5440:bind ( ) to 0.0.0.0:80 failed (10013:an attempt wasmade to access a socket-in-a-do forbidden by its access permissions)
As soon as the port is occupied, the problem becomes the process of killing off the port.
Operation Steps:
Solution One:
1.run regedit as an administrator ;
2, open the key value:hkey_local_machine\system\currentcontrolset\services\http ;
3.find Start on the right and change it to 0;
4. RebootThe system, the systems process will not occupy the port.
Solution Two:
1, run cmd as Administrator ;
2. Enter:
NET stop http
Note: If you are prompted if you really need to stop these services, select the Y";
3. After completion, enter:
sc config http start=disabled
Other methods: (If the port can not be removed, you can use the solution below)
Solution Three:
1,ctrl+x, then select "Computer Management", expand "services and Applications" to find "services";
2, find "World Wide Web Publishing Service", double-click Open, change the startup type to manual, changing the service status to "stop";
3, if the port is still occupied, you also need to stop the following several services:
" SSDP Discovery"
" Print Spooler"
" HomeGroup Provider"
" Function discoveryresource Publication"
" Function Discoveryprovider Host "
above to share with you three ways to handle the default win10 port, you can choose the right way to try to solve The problem of the installed.
What if the Win1080 port is occupied?