IBM Support

[Db2] Db2 のサービス・ポートをエフェメラル・ポート範囲から除外する方法

How To


Summary

TCP/IP クライアント・プログラムが動作しているシステムで Db2 サーバーを起動または再起動すると、Db2 のサービス・ポートが LISTEN できないことがあります。
これは、オペレーティングシステムが定義したエフェメラル・ポート範囲に Db2 のサービス・ポートが含まれており、任意のクライアント・プログラムがオペレーティングシステムから割り当てられたエフェメラル・ポートとして Db2 のサービス・ポートを使用することがあるためです。

このような事故を防ぐため、Db2 のサービス・ポートをエフェメラル・ポート範囲から除外する運用が推奨されています。
なお、Db2 11.5.6 以降で新しく作成された Db2 インスタンスのデフォルト・サービス・ポートは 25000 に変更されています。

Document Location

Worldwide

[{"Type":"MASTER","Line of Business":{"code":"LOB10","label":"Data and AI"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSEPGG","label":"Db2 for Linux, UNIX and Windows"},"ARM Category":[{"code":"a8m500000008Pl7AAE","label":"Connectivity-\u003ETCP\/IP"}],"ARM Case Number":"","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF016","label":"Linux"},{"code":"PF033","label":"Windows"}],"Version":"All Versions"}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
30 April 2025

UID

ibm17060273