Today I found the following command very very useful. I have a DB2 database running locally and I have no problem connecting to it using DB2 Control Center. But when I use Aquadata studio.. ADS requires the port number to connect to... which I dont know and DB2 Control Center does not tell.
So I needed a command to see what all ports my PC had opened. And the following command came to my rescue.
netstat -an | find /i "listening"
No comments:
Post a Comment