title: CentOS 6.3. SSH. Bind to port xxx on 0.0.0.0 failed: Permission denied
body: <p>CentOS 6.3 Minimal Configuration. Installed SSH Server, port 22. All works correctly.
  I change port 22 on 777 and restart sshd and see in logs:</p>
  
  <pre><code>Jul 26 01:01:07 myserver sshd[1590]: error: Bind to port 777 on 0.0.0.0 failed: Permission denied.
  Jul 26 01:01:07 myserver sshd[1590]: error: Bind to port 777 on :: failed: Permission denied.
  Jul 26 01:01:07 myserver sshd[1590]: fatal: Cannot bind any address.
  </code></pre>
  
  <p>/etc/sysconfig/iptables contains:</p>
  
  <pre><code>-A INPUT -m state --state NEW -m tcp -p tcp --dport 777 -j ACCEPT
  </code></pre>
  
  <p><em>netstat -tulpn | grep :22</em> and <em>netstat -tulpn | grep :777</em> return nothing</p>