n is a valid port number. The default is 62972.
JDBCGatewayPort is the port number for the JDBC Gateway; a five-digit integer. The default value is 62972. If you have multiple InterSystems IRIS® data platform instances on your system, this port number is incremented for each successive InterSystems IRIS instance.
Changing This Parameter
On the JDBC Gateway Server page of the Management Portal (System Administration > Configuration > Connectivity > JDBC Gateway Server), in the Port field, enter the number of the JDBC Gateway port.
You can also change JDBCGatewayPort with the Config.SQL class (as described in the class reference) or by editing the CPF in a text editor (as described in the Editing the Active CPF section of the “Introduction to the Configuration Parameter File” chapter in this book).