setPortNumber(int port)

Syntax:

void setPortNumber(int port) throws SQLException

Description:

Sets the TCP/IP port number to be used to create connections. This should be used in conjunction with setServerName.

Parameters:

port

the new port number

Throws:

SQLException - if a database access error occurs