Activating the DB2 listeners on a UNIX DB2 server

The TCP/IP listener processes on a DB2 server where Tivoli databases are installed must be active in order to accept connections from a DB2 client or a JDBC Type 4 driver (DB2 UDB JDBC Universal Driver).

db2set -i instance_name DB2COMM=tcpip
db2 update dbm cfg using SVCENAME port_number
db2stop force
db2start

e.g.

db2set -i db2inst1 DB2COMM=tcpip

db2 update dbm cfg using SVCENAME 50000

db2stop force

db2start