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.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.