The default port 80 of nginx in Win7 is occupied by System, and the solution for nginx startup error reporting is in win7 32-bit flagship version. To start nginx in version 1.0.8, the following error is displayed:
[Plain] 13:55:59 [emerg] 7864 #2376: bind () to 0.0.0.0: 80 failed (10013: An attempt was made to access a socket in a way forbidden by its access permissions) run the following command in the cmd window: [plain] C: \ Users \ Administrator> netstat-aon | findstr: 80 www.2cto.com. Port 80 is occupied. The occupied pid is 4 and its name is System. How can I disable it? 1. Open the Registry: regedit 2. Find HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ services \ HTTP 3. Find a REG_DWORD type item Start, change it to 0. 4. restart the SYSTEM, the System process will not start nginx.exe after Port 80 is restarted. Enter 127.0.01 in the browser and you will see "Welcome to nginx !" . Author love _ coder