skip to main content
Connection property descriptions : PortNumber
  

Try DataDirect Drivers Now

PortNumber

Purpose

The TCP port of the Oracle listener running on the Oracle database server.
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 directory server.

Default

1521

Data type

int