IP Port Numbers

This chapter provides an overview about port numbers used and configurable by DirX Directory.

General Information

If another application that uses IP ports is already installed or should be installed on your computer there may be conflicts with port numbers.Therefore, all port numbers used by DirX Directory are configurable by DirX Directory environment variables, the LDAP configuration subentry or configuration files.

To check which port numbers are currently in use, perform the following system command:

  • netstat -a

Keep in mind that this command returns only a snapshot of your currently running system.

In the following all port numbers used by DirX Directory are listed with their default values.

Port Numbers Specified in Environment Variables

The following table lists the default port numbers specified by DirX Directory environment variables:

Environment Variable Port Number Notes

DIRX_LDAP_PMAP_PORT

6999

DIRX_LDAP_RPC_START_PORT

6200

The LDAP server uses the first free port in the range of 6200 through 6399.

DIRX_PMAP_PORT

5999

DIRX_PROGSVR_PMAP_PORT

7999

DIRX_PROGSVR_RPC_START_PORT

6000

The DSA and the Progsvr use the same port range of 6000 through 6199.

The Progsvr uses the first free port in this range.

Usually, the Progsvr is the first server started and therefore uses port 6000.

DIRX_RPC_START_PORT

6000

The DSA and the Progsvr use the same port range of 6000 through 6199.

The DSA uses the first free 5 consecutive ports in this range.

The DSA needs 5 consecutive ports. Usually these are port 6001 through 6005.

DIRX_OWN_PSAP

21200

The installation specifies this value by default for the IDM stack.

For IDM stack with SSL port 21201 is used.

For OSI stack port 21100 is used.

If there are conflicts with port numbers on your machine, see Setting Environment Variables for information on how to modify these port numbers.

Port Numbers Specified in Attributes of LDAP Server Configuration Subentry

The following table lists the default port numbers specified by attributes of the LDAP configuration subentry:

Attribute Port Number

LDAP Port Number (LPNU, ldapPortNumber)

389

LDAP Secure Port Number (LSPN, ldapSecurePortNumber)

636

If there are conflicts with port numbers on your machine use DirX Directory Manager or the dirxcp command to modify the corresponding attributes of the LDAP server configuration subentry.

Port Numbers Specified in Configuration Files

The following table lists the default port numbers specified in DirX Directory configuration files:

Configuration File Port Number

Client configuration file (Self) (install_path/client/conf/dirxcl.cfg)

2222

LDAP server configuration file (Self) (install_path/ldap/conf/dirxldap.cfg)

2222

HTTP server configuration file (install_path/http/conf/dirxhttp.cfg)

8880, 8443

You also find port numbers for connecting the DSA in the configuration files dirxldap.cfg and dirxcl.cfg.There may also be a port number of the external LDAP server in dirxextauth.cfg.

If there are conflicts with port numbers on your machine edit the corresponding configuration file and re-start the DirX Directory Service.

These ports are not used to establish a listener on it.The PSAP values containing the port numbers in the self entries indicate the stacks that must be initialized in the respective programs.

Port Numbers and the Firewall

If a Firewall is enabled on your system the administrator must take care that the correct port numbers are opened.This is at least the LDAP Port Number or the LDAP Secure Port Number.If access via the DAP protocol, shadowing (DISP) or chaining (DSP) is performed through the firewall the port specified in the respective connect PSAP must be opened.

If administration with dirxadm or the DirX Directory Manager’s replication view and schema view (database and index configuration) is performed through the firewall the ports used by RPC must be opened.