Nginx start error under win7,win2008: Bind () to 0.0.0.0:80 failed (10013:an attempt is made to access a socket in a-mode forbidden by I TS access permissions).
The reason is Win7 under Nginx default 80 port by system occupation, resulting in Nginx start error solution.
Run the following command in the cmd window: [Plain]c:\users\administrator>netstat-aon | FINDSTR:80 See Port 80 is actually occupied. The PID is found to be 4, and the name is System. How to disable it? 1. Open registry: Regedit 2, find: Hkey_local_machine\system\currentcontrolset\services\http 3, find a REG_DWORD type of entry start, change it to 0 4, After rebooting the system, the systems process does not consume 80 port restarts after the start Nginx.exe. In the browser, enter 127.0.01 to see the Dear "Welcome to nginx!" from: http://www.360sdn.com/Nginx/2014/0807/4044.html not verified yet You can also directly modify the port listen in Nginx 8080
Nginx Start Error: 10013:an attempt was made to access a socket in a-type forbidden