Error while creating a federated server with target server as DB2 on Cloud and federation source as DB2 Warehouse on Cloud
Error message (on running second command below):
A communication error "104" occurred sending or receiving data from the remote database.. SQLCODE=-30080, SQLSTATE=08001, DRIVER=4.24.92
Commands run on DB2 Warehouse on Cloud console:
CREATE WRAPPER DRDA;
CREATE SERVER DP_DB_SERVER TYPE DASHDB VERSION 11.1 WRAPPER DRDA AUTHORIZATION "bluadmin" PASSWORD "*****" OPTIONS (
HOST '******.dal.bluemix.net', PORT '50001', DBNAME 'BLUDB');
FYI- Target DB is Transaction DB on Cloud with Flex Plan. I am able to connect to target db and run queries using jdbc client tool (SQL Workbench/J). Also I am able to create server other way around ie., target as DB2 Warehouse on Cloud and federated source as DB2 on Cloud.
update: Tried changing port to 50000, got different communication error - A
communication error "110" occurred sending or receiving data from the remote database.. SQLCODE=-30080, SQLSTATE=08001, DRIVER=4.24.92
Appreciate if you can help on this. Thanks.