How do I set Apache Directory Server to port 389 instead of 10389
<p>I have a server with Apache Directory Server installed. I can connect using the Apache directory studio over 10389. Now I would like to connect on 389 instead of 10389. I go into (as sudo) <code>/var/lib/apacheds-2.0.0_M23/default/conf/ou\=config/ads-directoryserviceid\=default/ou\=servers/ads-serverid\=ldapserver/ou\=transports/ads-transportid\=ldap.ldif</code> and I set <code>ads-systemPort</code> to </p>

<p><code>ads-systemPort: 389</code></p>

<p>However, now when I run I see...</p>

<blockquote>
  <p>java.io.IOException: Error while binding on /0.0.0.0:389
  original message : Permission denied</p>
</blockquote>

<p>Changing it back to 10389 works great. I am confused because I am using sudo, which should avoid permission issues. What am I doing wrong?</p>