Unanswered: check if db2 is listening to the connection port
Is there any provision to find if db2 is listening to a port for connections on a remote server via client connection.
I know and am used to check this at system level. But for current requirement, I have only client, I know it is connected, but for documentation purpose I want to know if there is any provision to find by querying catalog tables or DB2 registery.
In case I do not have permissions to anything except the db2 client, I am looking for a way to tell on which port db2 is listening for incoming connections. DB2 is on production server, but client is on other machine. I am connected to the server already.
nvk@vhv has got my point.
From this I can tell that the server that I am connected to is listening to this service name. Now, I am unable to convert this to numeric port number because /etc/services is on remote server where I do not have access.
Anybody having any Idea ??
Purpose is to tell which port number is on the remote server that DB2 is listening to.