Db2 (On Premises and Cloud)

Expand all | Collapse all

db2c_db2inst1 service port changed to 25010 with ibmcom/db2 docker latest, 11.5.6.0

  • 1.  db2c_db2inst1 service port changed to 25010 with ibmcom/db2 docker latest, 11.5.6.0

    Posted Fri September 10, 2021 10:27 AM
    Hi IBM,

    I have noticed that ibmcom/db2 (Docker Hub
    Docker remove preview
    Docker Hub
    View this on Docker >
    ) docker image configuration change without any notice or document update.

    in latest, 11.5.6.0 version:

    cat /etc/services | grep -i db2
    ibm-db2 523/tcp # IBM-DB2
    ibm-db2 523/udp # IBM-DB2
    questdb2-lnchr 5677/tcp # Quest Central DB2 Launchr
    questdb2-lnchr 5677/udp # Quest Central DB2 Launchr
    qdb2service 45825/tcp # Qpuncture Data Access Service
    qdb2service 45825/udp # Qpuncture Data Access Service
    DB2_db2inst1 20016/tcp
    DB2_db2inst1_1 20017/tcp
    DB2_db2inst1_2 20018/tcp
    DB2_db2inst1_3 20019/tcp
    DB2_db2inst1_4 20020/tcp
    DB2_db2inst1_END 20021/tcp
    db2c_db2inst1 25010/tcp


    Where in 11.5.4.0 version:

    cat /etc/services | grep -i db2
    ibm-db2 523/tcp # IBM-DB2
    ibm-db2 523/udp # IBM-DB2
    questdb2-lnchr 5677/tcp # Quest Central DB2 Launchr
    questdb2-lnchr 5677/udp # Quest Central DB2 Launchr
    qdb2service 45825/tcp # Qpuncture Data Access Service
    qdb2service 45825/udp # Qpuncture Data Access Service
    DB2_db2inst1 60000/tcp
    DB2_db2inst1_1 60001/tcp
    DB2_db2inst1_2 60002/tcp
    DB2_db2inst1_3 60003/tcp
    DB2_db2inst1_4 60004/tcp
    DB2_db2inst1_END 60005/tcp
    db2c_db2inst1 50000/tcp

    Is there any explanation or reference to this change?
    Cheers,
    Yoon

    ------------------------------
    Yoon Moon
    ------------------------------


  • 2.  RE: db2c_db2inst1 service port changed to 25010 with ibmcom/db2 docker latest, 11.5.6.0

    Posted Mon September 13, 2021 10:42 AM
    The default port number for DB2 changed from 50000 to 25000 starting in version 11.5.6.
    This is documented but I can't find the reference at the moment.

    Also the FCM port changed from 60000 to 20000, documented here:
    https://www.ibm.com/docs/en/db2/11.5?topic=installation-verifying-port-range-availability-participating-computers


  • 3.  RE: db2c_db2inst1 service port changed to 25010 with ibmcom/db2 docker latest, 11.5.6.0

    Posted Mon September 13, 2021 04:46 AM
    hi, had the same "issue" ... the first and following restarts will work as before and reset your /etc/services to port 50000 

    and to your question: yes, there is an explanation: with 11.5.6 IBM changed default db2 port to 25000.

    for example documented here:
    https://www.ibm.com/support/producthub/db2/docs/content/SSEPGG_11.5.0/com.ibm.db2.luw.qb.server.doc/doc/t0008487.html


    ------------------------------
    Markus Fraune
    ------------------------------



  • 4.  RE: db2c_db2inst1 service port changed to 25010 with ibmcom/db2 docker latest, 11.5.6.0

    Posted Mon September 13, 2021 03:06 PM
    Hello Yoon

    I found an indirect reference about the default port change in this tech note.
    [Db2] Db2 server TCP/IP port numbers

    Hope this helps.
    Murali

    ------------------------------
    Murali Muralidharan
    ------------------------------