If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > DB2 ports

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-30-04, 17:45
mvo@work mvo@work is offline
Registered User
 
Join Date: Nov 2004
Posts: 15
DB2 ports

Hi,
I'm running UDB 8.1 on Solaris 8. Command
db2 get dbm cfg
shows that the instance svcename is 50000.

The /etc/services file contains the followings:
db2cdb2inst1 50000/tcp # Connection port for DB2 instance db2i1
db2idb2inst1 50001/tcp # Interrupt port for DB2 instance db2i1
DB2_db2i1 60000/tcp
DB2_db2i1_1 60001/tcp
DB2_db2i1_2 60002/tcp
DB2_db2i1_END 60003/tcp

When I connected to a database on this server from a Win2000 client via DB2 Control Center, netstat shows that I'm connecting to port 65165.
When I connected to a database on this server from a Win2000 client via MS Excel, netstat shows that I'm connecting to port 65470.

Can anyone explain to me how ports are assigned for DB2 ?

Thanks
Reply With Quote
  #2 (permalink)  
Old 12-30-04, 18:04
mvo@work mvo@work is offline
Registered User
 
Join Date: Nov 2004
Posts: 15
OK forget it, I should have issued netstat -an. Port 50000 is used for all client connections.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On