Basically, to solve the error is to set DB2 tcp port connection to a valid lower port.
1. Configuring DB2 server communications (TCP/IP)
http://www-01.ibm.com/support/knowledgecenter/SSEPGG_10.1.0/com.ibm.db2.luw.qb.server.doc/doc/t0004727.html
2. Configuring IBM data server client communications
http://www-01.ibm.com/support/knowledgecenter/#!/SSEPGG_10.1.0/com.ibm.db2.luw.qb.client.doc/com.ibm.db2.luw.qb.client.doc-gentopic1.html