how to connect a bluemix app to on-premise db/as400?

后端 未结 3 966
无人共我
无人共我 2021-01-27 11:47

trying to connect a bluemix app (java liberty profile) to our on-premise db/as400 using a secure gateway. Denying or allowing all connection, doesn\'t change the error message.

3条回答
  •  無奈伤痛
    2021-01-27 12:43

    The JT400 JDBC driver communicates with the IBM i system using the IBM i Host Servers, which each run on different ports. You will need to forward all of these ports through your secure gateway in order for it to work. See this doc for more info (you'll need as-database, as-central, and as-signon at a minimum).

    If you need to change the ports used by the app to connect, you can do so by creating an AS400 object and using setServicePort to change the default ports. Then pass the AS400 object to connect instead of using the system, user name, and password.

提交回复
热议问题