I have to make DB2 connection in java using port number. Is there any command in DB2 or any way that can get the DB2 port number?
I have not used the default port 50000 while making DB2 connection as this port can be changed during DB2 installation. Please suggest any DB2 command or any other alternative.