PortNumber
- Last Updated: July 24, 2025
- 1 minute read
- DataDirect Connectors
- JDBC
- Oracle Database 6.0
- Documentation
Purpose
Specifies the TCP port on which the server is listening for incoming connections.
This property is supported only for data source connections.
Valid values
port
where:
- port
- is the port number.
Data source method
setPortNumber
Notes
- If using a tnsnames.ora file to provide connection information, do not specify this property. See "Using tnsnames.ora files" for information about specifying a port number for the Oracle listener using a tnsnames.ora file.
- When a value is specified for the LDAPDistinguishedName property, this property specifies the port number for the listener of the LDAP server.
Default
For Oracle database server: 1521
For LDAP server (unencrypted): 389
For LDAP server (encrypted): 636
Data type
int