Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Connection port for DB2 instance .???

Status
Not open for further replies.

donny750

Programmer
Jul 13, 2006
145
FR
Hi guys;


Is-it possible to modify the connection port for DB2 instance ?and how ?
may be directly in the /etc/services or with a db2 command ?

Thanks for your help
 
You're right it's in /etc/services. The normal port number is 50000. Just look for something like db2_db2inst1 or whatever you've called your instance. You'll need to stop and re-start db2 for it to take effect. You can use netstat to check it's listening on the correct port.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top