DB2 Drivers Windows Server - Database port number

We are trying to install DB2 Drivers on a windows server but are being asked for the database port number. Where would I find the port number?
IT SSMAsked:
Who is Participating?
 
Kent OlsenConnect With a Mentor Data Warehouse Architect / DBACommented:
Hi OST-IS,

Most of the DB2 parameters that you'll care about can be found with these two commands:

db2>  get dbm cfg
db2>  get db cfg

In this case, the parameter that you want is returned by the first command.  It will look something like this:

 TCP/IP Service name                          (SVCENAME) = db2c_DB2

The value will be the port number as is defined in the etc/services file, or the absolute port number.

Until you get the DB2 command line processor set up on your desktop, that will have to be run on the server side.


Good Luck,
Kent
0
 
giltjrCommented:
That will be on the DB2 server, its the TCP ports that it is listening on.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.