getPortNumber()

Syntax:

int getPortNumber() throws SQLException

Description:

Returns the current TCP/IP port number to be used to create connections.

Returns:

the current port number

Throws:

SQLException - if a database access error occurs