Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I just installed Nginx on my machine to run Nginx. After install and config. I try to run nginx and got this problem:

bind() to failed (1:Operation not permitted)

I have no idea what this problem is and how to fix it. Google cannot find any related result also.

Is there anyway to fix?

Thank you

share|improve this question
up vote 1 down vote accepted

A random guess would be that either

  • The account you are using doesn't have permissions to open the port you have specified
  • The port is already in use.

Try temporarily disabling any firewalls and any kernel level security apps (apparmor/selinux). Use netstat -ntlp to see if anything else is already using the port.

share|improve this answer
As you notice the "permission" word. I found the answer. Read below: – DucDigital Jul 27 '10 at 2:32

I found the problem, it's because of the permission that run CYGWIN.

On Windows 7 or Vista, need to run CYGWIN as administrator to be able to bind this port.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.