changetype:modify

replace:nsServerPort

nsServerPort:10030

Click Enter twice to submit the operation, then Control+C to close ldapmodify.

2.Open the Admin Server configuration directory. cd /etc/opt/dirsrv/admin-serv

3.Edit the Listen parameter in the console.conf file.

Listen 0.0.0.0:10030

4.Restart the Admin Server.

/opt/dirsrv/sbin/restart-ds-admin

2.6Setting host restrictions

Connection restrictions specify which hosts are allowed to connect to the Admin Server. You can list these hosts by DNS name, IP address, or both. Only host machines listed within the connection restriction parameters are allowed to connect to the Admin Server. This setting allows wildcards within a domain or an IP address range to make setting connection restrictions simpler.

2.6.1Setting host restrictions in the console

1.Open the Admin Server management window.

2.Click the Configuration tab.

3.Click the Network tab.

4.The Connection Restrictions area displays a list of hosts allowed to connect to the Admin Server. The drop-down list specifies whether the list entries are added by DNS name or by IP address. The list is evaluated first by host names, then by IP addresses.

5.Click the Add button to add another host to the list of allowed computers. To add a host name, make sure the drop-down list at the top reads Host Names to allow; to add an IP address, select IP Addresses to allow.

6.Fill in the host information.

2.6 Setting host restrictions

15