DB2 10.5 for Linux, UNIX, and Windows

Configuring DB2 server communications (TCP/IP)

This task describes how to configure TCP/IP communications on your DB2® server using the DB2 Command Line Processor (CLP). Communication protocols on the DB2 server must be configured in order for your DB2 server to accept inbound requests from remote DB2 clients.

Before you begin

Before you configure TCP/IP communications for an instance on your DB2 server:

About this task

Most protocols are automatically detected and configured when you set up DB2 database systems using the DB2 Setup wizard. Perform the current task if:
  • You deselected the TCP/IP communication protocol when you set up the DB2 database system using the DB2 Setup wizard.
  • You added the TCP/IP communication protocol to your network after you set up the DB2 database system using the DB2 Setup wizard.
  • The TCP/IP communication protocol was not detected by the DB2 Setup wizard.
  • You installed a DB2 database product using the db2_install command or the payload file method.

Procedure

To configure TCP/IP communications for a DB2 instance:

  1. Update the services file on the server. Refer to Updating the services file on the server for TCP/IP communications.
  2. Update the database manager configuration file on the server. Refer to Updating the database manager configuration file on the server for TCP/IP communications.
  3. Set communication protocols for a DB2 instance. Refer to Setting communication protocols for a DB2 instance.