Bluemix Secure Gateway AS 400 DB2连接被拒绝发行 [英] Bluemix Secure Gateway AS 400 DB2 Connection refused Issue

查看:159
本文介绍了Bluemix Secure Gateway AS 400 DB2连接被拒绝发行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经配置了Bluemix Secure网关客户端,以使用Windows机器连接到AS 400上的DB2.我能够从运行安全网关客户端的Windows计算机上的应用程序成功运行Db2连接.但是,当我在Bluemix上运行相同的应用程序并修改代码以描述Secure Gateway客户端目标详细信息时,会出现"Connection Refused"错误.

I have configured Bluemix Secure gateway client to connect to DB2 on AS 400 using a Windows machine. I am able to run the Db2 connection successfully from the application on Windows machine where Secure gateway client is running. But when I run the same application on Bluemix with modifying the code to depict Secure Gateway client destination details, I get 'Connection Refused' error.

我已经经历过如何连接到本地db/as400的bluemix应用程序?,其中提到了OS 400的安全网关客户端. 想了解如何解决拒绝连接"问题?我们是否必须使用来自Bluemix的其他DB2Driver/DB2 Connect字符串?或要在AS400服务器上进行任何其他设置?

I had gone through how to connect a bluemix app to on-premise db/as400? , which mentions about Secure gateway client for OS 400. Wanted to understand how to fix the issue for 'Connection Refused' ? Do we have to use different DB2Driver/ DB2 Connect string from Bluemix? or Any other settings to be done on AS400 server?

推荐答案

鉴于BlueMix应用程序与SG服务器之间发生Connection refused错误,并且SG客户端上没有生成日志,这听起来像是问题是因为未在SG服务器上打开侦听器,而不是SG客户端和DB2之间的问题. SG客户端最初连接到SG服务器时,所有侦听器都应出现.

Given that the Connection refused error is occurring between your BlueMix application and the SG Servers and no logs are being generated on the SG Client, it sounds like the issue is with a listener not being opened on the SG Servers rather than an issue between the SG Client and DB2. All listeners should come up when the SG Client initially connects to the SG Servers.

您是否可以使用此特定目标位置提供的cloud host:port进行cURL或telnet?还是这种拒绝连接特定于您的BlueMix应用程序?无论哪种情况,此答案都将为进一步调查提供更多指导.

Are you able to cURL or telnet the cloud host:port provided with this particular destination? Or is this connection refusal specific to your BlueMix app? In either case, this answer will provide more direction on where to investigate further.

这篇关于Bluemix Secure Gateway AS 400 DB2连接被拒绝发行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆