访问Cloudfoundry本地应用URL时出错 [英] Error in accessing the Cloudfoundry Local App URL

查看:63
本文介绍了访问Cloudfoundry本地应用URL时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要在本地关键Cloud Foundry VM中本地部署的应用程序的帮助。

I need some help with a locally deployed app in the Local pivotal Cloud Foundry VM.

最近,我已在Windows Server 2012 VM中安装了关键云Foundry。并已在本地部署了Spring-music应用。现在,我想与其他人共享此URL,但是当我将在APP PUSH命令中生成的URL提供给其他人时,他们将无法看到该应用。您能帮忙如何与他人共享APP网址,以便他们可以查看该应用程序。

Recently, I have installed the pivotal cloud foundry in a Windows Server 2012 VM and had deployed the Spring-music app in the local. Now I want to share this url with others, but when I give the URL generated in the APP PUSH Commands to others they are not able to see that app. Can you help how to share a APP url to others so that they can view the app.

http://spring-music.local.pcfdev.io/ -这是本地APP URL

http://spring-music.local.pcfdev.io/ -- this is the Local APP URL

在从其他系统访问应用程序时,我尝试了一些命令来创建自己的共享域并将其路由到仍然面临问题。

I have tried few commands to create my own shared domain and route to it still facing issue in accessing the app from other systems.

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访问该应用程序。
谁能帮助我生成供外部系统访问我的APP的URL。

after trying all these also i am not able to access the app with url generated. can anyone help me with generating a URL for externals system to access my APP.

预先感谢。

推荐答案

您已在本地计算机上安装了Pivotal Cloud Foundry,这意味着它是PCFDev。但是,您无法在计算机外部共享APP Url。因为APP正在您的计算机中运行。

You have installed Pivotal Cloud Foundry in local machine which means it is PCFDev. However you can't share APP Url outside from your machine. Because APP is running in within your machine.

如果您的观点是共享应用程序URL,而不是在本地计算机中使用PCF,则可以切换到 Pivotal Web Services(PWS),由Pivotal Cloud Foundry在AWS Cloud上托管。免费提供87个学分。

If your perspective is sharing APP URL than using PCF in local machine then you can switch to Pivotal Web Services(PWS) which is hosted by Pivotal Cloud Foundry on AWS Cloud. It is available for free trial with 87 credits.

这篇关于访问Cloudfoundry本地应用URL时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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