应在Secure Gateway Client的acl中设置哪个主机名:Bluemix应用程序的端口

时间:2015-06-26 09:06:21

标签: ibm-cloud secure-gateway

我想只使用我的Bluemix应用程序来访问我的Secure Gateway客户端。我使用了“访问控制列表”,例如以下命令。

  

acl allow sampleapp.mybluemix.net

  • sampleapp.mybluemix.net是我的Bluemix应用程序的FQDN

但是当我执行trx时遇到错误HTTP503。 Secure Gateway Client的日志是“到目的地X.X.X.X的连接#X:由于访问控制列表而拒绝XXX”

enter image description here

应该在Secure Gateway Client的acl中设置哪个主机名:Bluemix app的端口?

Secure Gateway客户端交互式命令行界面 https://www.ng.bluemix.net/docs/services/SecureGateway/sg_022.html#sg_009

1 个答案:

答案 0 :(得分:1)

在访问控制列表(ACL)上使用的主机名应该是本地应用程序运行的实际主机名,而不是尝试访问它的内容。如果allow是互斥的,请记住ACL,因此它将阻止所有其他不属于允许ACL的连接。