<r_**********@yahoo.com> wrote in message
news:11*********************@g43g2000cwa.googlegro ups.com...
Hi all,
How can I find out which port my db2 database is running on on an aix
machine?
I need to supply the port number to my JDBC connection string.
Any response is greatly appreciated.
Thanks,
Rob
The relationship between service name and port is contained in the
/etc/services file.
In some cases, the instance may have been created with a port number
hardcoded, in which case you can see it when you do:
db2 get dbm cfg
Look at the service name (SVCENAME). If it is a number, you have the port.
If it is a name, you can find the associated port in /etc/services.