Enable DB2 service ports for remote connections.
To enable outside users to get to your DB2 databases, you’ll need to set up the DB2 service port, as it is not configured by the Synaptic installation process.
As the regular user, run sudo vi /etc/services and add this line to the end of the file and save the changes:
db2c_db2inst1 50001/tcp # IBM DB2 instance - db2inst1
|
Then, as the DB2 instance owner (db2inst1 by default), run these commands:
db2 update dbm cfg using SVCENAME db2c_db2inst1
db2set DB2COMM=tcpip
db2stop
db2start
Recent Comments