The connection has been refused.
If you are trying to connect to the database, check that the database
manager and TCP/IP protocol support at the server have been started
So, I would advise you check:
- DB2 is running on the Server (ie you can connect locally )
- DB2COMM=tcpip registry variable is set on the server
- You can telnet to the Server/Port from the Client (which is a good way to test the Port is open, and the Server is up, and the routing is ok).
- You have cataloged the Client with the correct details.