May i open a port on Cloud Foundry?

假如想象 提交于 2019-12-13 04:25:23

问题


I want to establish a UDP Connection from a terminal device to My App On Cloud Foundry.


回答1:


all output from applications on Cloud Foundry is delivered by proxy via a web server (nginx) and as far as I know only http and https are open.

Perhaps you should look at alternative ways of communicating with your console application, what kind of communication are you trying to achieve?




回答2:


Using the CF_HOST:UDP_PORT from your terminal device should be OK. I suppose that an application (Java, Perl, etc) is deployed on your terminal device and on the CF server an application with a UDP channel is deployed.




回答3:


This is an old post but i've had a similar problem when porting my app to pivotal's cloud foundry platform.

Turns out you can continue to use tcp or udp for any outgoing traffic without doing any special configuration (e.g. service binding, etc) but only http or https for incoming traffic. However, there is an interesting workaround proposed here



来源:https://stackoverflow.com/questions/11756517/may-i-open-a-port-on-cloud-foundry

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!