rhc port forward - open shift issue [英] rhc port forward - open shift issue

查看:189
本文介绍了rhc port forward - open shift issue的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试移植我正在开发的特定应用程序。在公开班次,我有以下应用程序可用;

I am trying to port forward a particular application that I am developing for. In open shift I have the following applications available;

如果我选择hotornot,那么在终端rhc中运行此命令时我得到以下内容

If i choose hotornot then i get the following when running this command in the terminal rhc

port-forward -a jbossas

port-forward -a jbossas

如果我运行相同的命令但用其他应用程序名称替换hotornot(jbossas) - 我得到以下

if i run the same command but replace hotornot with the other application name (jbossas) - i get the following

有谁知道为什么我无法移植第二个应用程序,但我可以第一个?

Does anyone know why i can't port forward the second application but i can the first?

谢谢

推荐答案

原来我必须首先登录终端通过ssh
然后通过另一个终端我需要运行端口转发但不仅仅是应用程序名称,我需要域名 - 在这个例子中rhc port-forward -a jbossas -n secondstory1d

turns out i had to first login with a terminal via ssh then via another terminal i needed to run port forward but not just with the application name, i needed the domain name - in this instance rhc port-forward -a jbossas -n secondstory1d

然后我需要退出ssh终端然后再次向前移动:/

then i needed to log out of the ssh terminal and then re port forward again :/

这篇关于rhc port forward - open shift issue的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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