Results 1 to 2 of 2

Thread: DB2 ports

  1. #1
    Join Date
    Nov 2004
    Posts
    15

    Unanswered: DB2 ports

    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

  2. #2
    Join Date
    Nov 2004
    Posts
    15
    OK forget it, I should have issued netstat -an. Port 50000 is used for all client connections.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •