我正在尝试使用:
rhc port-forward -a <appname>
但不断收到错误:
检查可用端口...无 此应用程序没有可用的转发端口。您的申请可能会被停止或闲置
我可以浏览我的应用程序,并且已经从网络前端重新启动了几次。
任何人都可以告诉我如何让前进工作吗?
编辑:当我使用debug:
DEBUG: Using config file C:/Users/matthew.harris/.openshift/express.conf
DEBUG: Git config '"C:\Program Files (x86)\Git\bin\git.exe" config --get rhc.app
-id' returned ''
DEBUG: Git config '"C:\Program Files (x86)\Git\bin\git.exe" config --get rhc.app
-name' returned ''
DEBUG: Git config '"C:\Program Files (x86)\Git\bin\git.exe" config --get rhc.dom
ain-name' returned ''
DEBUG: Authenticating with RHC::Auth::Token
DEBUG: Connecting to https://openshift.redhat.com/broker/rest/api
DEBUG: Getting all domains
DEBUG: Client supports API versions 1.1, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7
DEBUG: Created new httpclient
DEBUG: Request GET https://openshift.redhat.com/broker/rest/api
DEBUG: code 200 2441 ms
DEBUG: Server supports API versions 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7
DEBUG: Using API version 1.7
DEBUG: Client API version 1.7 is not current. Refetching API
DEBUG: Request GET https://openshift.redhat.com/broker/rest/api
DEBUG: code 200 154 ms
DEBUG: Using token authentication
DEBUG: Request GET https://openshift.redhat.com/broker/rest/domains
DEBUG: code 200 109 ms
DEBUG: Using token authentication
DEBUG: Request GET https://openshift.redhat.com/broker/rest/domain/mharrisweb/ap
plication/node
DEBUG: code 200 210 ms
Checking available ports ... DEBUG: /usr/bin/rhc-list-ports: line 32: 127.5.42.1
30:27017: syntax error: invalid arithmetic operator (error token is ".5.42.130:2
7017")
DEBUG: Getting all gear groups for application node
DEBUG: Using token authentication
DEBUG: Request GET https://openshift.redhat.com/broker/rest/application/5501b0c0
4382ecfefe0000a2/gear_groups
DEBUG: code 200 384 ms`