Component : CA LDAP Server for z/OS
The following can be done to determine if the port is in use.
If the selected socket address/port is in the range INADDRANYPORT + INADDRANYCOUNT, then the
socket address/port is reserved. Change INADDRANYPORT + INADDRANYCOUNT or select a different
socket address/port for CA LDAP Server.
To determine if the socket address/port 4389 is in use, issue the TSO command netstat (po 4389).
If the socket address/port 4389 is available you will see the following:
netstat (po 4389)
MVS TCP/IP NETSTAT CS V1R12 TCPIP Name: TCPIP 13:18:33
User Id Conn State
------- ---- -----
READY
To determine if the socket address/port 389 is in use, issue the TSO command netstat (po 389).
If the socket address/port 389 is in use something like this will see display output:
netstat (po 389)
MVS TCP/IP NETSTAT CS V1R12 TCPIP Name: TCPIP 13:39:48
User Id Conn State
------- ---- -----
LDAPR15 00001740 Establsh
Local Socket: 141.202.22.113..389
Foreign Socket: 141.202.22.113..1031
LDAPR15 000002BA Listen
Local Socket: 0.0.0.0..389
Foreign Socket: 0.0.0.0..0
LDAPR15 000002B9 Listen
Local Socket: ::..389 (IPV6_ONLY)
Foreign Socket: ::..0
TOMCAT 0000173F Establsh
Local Socket: ::ffff:141.202.22.113..1031
Foreign Socket: ::ffff:141.202.22.113..389
For checking TCP/IP setup, IBM has knowledge documents. Here is one url:
https://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_72/cl/addtcpport.htm