TCP Port
- Last Updated: April 6, 2022
- 1 minute read
- DataDirect Connectors
- ODBC
- IBM Db2 8.0
- Documentation
Attribute
TCPPort (PORT)
Purpose
Specifies the port number that is assigned to the Db2 DRDA listener process on the server host machine.
On Db2 for i only, execute NETSTAT from a
command line to determine the correct port number. Select option 3 to display a list of
active ports on the Db2 for i machine. Find the entry for DRDA, and press F14 to toggle and
display the port number. If DRDA is not currently listening, the command CHGDDMTCPA AUTOSTART(*YES) PWDRQD(*YES) starts the listener and
ensures that it is active at IPL.
Valid Values
IP_address | service_name
where:
- IP_address
- is the port’s IP address.
- service_name
- is the port’s service name. The driver must be able to find this name (with the correct port assignment) in the SERVICES file on the workstation.
Default
50000