Personal tools
You are here: Home DB2 How To's How to assign a Port Number to instance
Navigation
Log in


Forgot your password?
 
Document Actions

How to assign a Port Number to instance

Steps to configure DB2 to support remote TCP/IP clients

To configure DB2 to support remote TCP/IP clients:

1. Add an entry to the TCP/IP Services file that looks similar to the following example:

db2c1svc 50000/tcp # DB2 Instance connection port for instance DB2C1


The service name db2c1svc can be any name you choose, but must be unique in
the Services file and must match the value you specify for the SVCENAME
parameter in the DBM CFG file.

The port number you specify should be an integer greater than 1024. The port
numbers must be unique within the Services file.

The maximum length for the SVCENAME value is 14 characters. This parameter is case sensitive.

The tcp after the port number must be in lower case.

2. On a Linux or UNIX system, the services file is located in the directory path of
/etc/services. You must be root to update it. On a Windows system, the Services file
is located in the directory path of \windows\system32\drivers\etc\services.

3. On an AIX system, synchronize the /etc/services file and the inetd daemon by
executing the following commands:

# inetimp
# refresh -s inetd
Security Awareness
Would you like your company to implement gamification into your security awareness program?





Polls