Locate the DB2 connection port number on Linux

TrackBack

TrackBack URL for this entry:
http://www.typepad.com/services/trackback/6a00d834539b6d69e20105360fe7e2970b

Listed below are links to weblogs that reference Locate the DB2 connection port number on Linux:

 

Comments

Locate the DB2 connection port number on Linux

1)Open a DB2 command prompt
2)Verify you are on the correct instance

db2 get instance

3)Find the service name of your instance
db2 get dbm cfg | grep SVCE

You’ll get back something like :
TCP/IP Service Name     (SVCENAME) = db2mydb2

4)Use the service name to find the port number in the services file
e.g

db2 grep <my service> /etc/services

you’ll get back something like
<my service > 50000/tcp

Ref:Jack Vamvas

Leave a Reply

Discover more from ciquery

Subscribe now to keep reading and get access to the full archive.

Continue reading