I'm running UDB 8.1 on Solaris 8. Command
db2 get dbm cfg
shows that the instance svcename is 50000.
The /etc/services file contains the followings:
db2cdb2inst1 50000/tcp # Connection port for DB2 instance db2i1
db2idb2inst1 50001/tcp # Interrupt port for DB2 instance db2i1
When I connected to a database on this server from a Win2000 client via DB2 Control Center, netstat shows that I'm connecting to port 65165.
When I connected to a database on this server from a Win2000 client via MS Excel, netstat shows that I'm connecting to port 65470.
Can anyone explain to me how ports are assigned for DB2 ?