【发布时间】:2018-01-04 07:26:10
【问题描述】:
我需要一些关于本地关键 Cloud Foundry VM 中本地部署应用程序的帮助。
最近,我在 Windows Server 2012 VM 中安装了关键的云代工厂,并在本地部署了 Spring-music 应用程序。现在我想与其他人分享这个 url,但是当我将 APP PUSH 命令中生成的 URL 提供给其他人时,他们看不到该应用程序。能否帮忙分享一个APP url给其他人,让他们可以查看该应用。
http://spring-music.local.pcfdev.io/ -- 这是本地APP URL
我尝试了一些命令来创建自己的共享域并路由到它,但在从其他系统访问应用程序时仍然面临问题。
cf create-shared-domain tcp.example.com --router-group default-tcp
cf push spring-music –d tcp.example.com --random-route
cf create-route s1 tcp.example.com --random-port
cf map-route myapp tcp.example.com --random-port
在尝试了所有这些之后,我也无法使用生成的 url 访问应用程序。 谁能帮我为外部系统生成一个 URL 以访问我的 APP。
提前致谢。
【问题讨论】:
标签: cloud-foundry cloudfoundry-uaa