简体   繁体   English

Spring App cloudfoundry:连接被拒绝

[英]Spring App cloudfoundry : connection refused

I've a spring boot app running on cloudfoundry and I've to connect to an LDAP server to retrieve some user info, but when trying to connect to LDAP server it gives connection refused exception or for that matter for any external URL connection it gives that exception. 我有一个在cloudfoundry上运行的spring boot应用程序,我必须连接到LDAP服务器以检索一些用户信息,但是当尝试连接到LDAP服务器时,它会给出连接被拒绝的异常或为此原因而导致的任何外部URL连接那个例外。 I read up on application security groups on cloudfoundry, but my org role is not allowing me to push the json config. 我阅读了cloudfoundry上的应用程序安全组,但是我的组织角色不允许我推送json配置。 Any help is appreciated. 任何帮助表示赞赏。

要更新安全组,可以尝试使用此命令。

cf update-security-group SECURITY_GROUP PATH_TO_JSON_RULES_FILE

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM