Nginx Start Error: 10013:an attempt was made to access a socket in a-type forbidden

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.