Hi,
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
DB2_db2i1 60000/tcp
DB2_db2i1_1 60001/tcp
DB2_db2i1_2 60002/tcp
DB2_db2i1_END 60003/tcp
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 ?
Thanks