我正在尝试设置一个在openshift中运行的BrowserQuest服务器
我一直在关注this自述文件。一切似乎都很好,我到最后并运行rhc app show bq
并得到以下输出:
bq @ http://bq-plantagenet.rhcloud.com/ (uuid: 55e4311189f5cf028d0000fc)
------------------------------------------------------------------------
Domain: plantagenet
Created: 8:18 AM
Gears: 1 (defaults to small)
Git URL: ssh://55e4311189f5cf028d0000fc@bq-plantagenet.rhcloud.com/~/git/bq.git/
SSH: 55e4311189f5cf028d0000fc@bq-plantagenet.rhcloud.com
Deployment: auto (on git push)
nodejs-0.10 (Node.js 0.10)
--------------------------
Gears: Located with smarterclayton-redis-2.6
smarterclayton-redis-2.6 (Redis)
--------------------------------
From: http://cartreflect-claytondev.rhcloud.com/reflect?github=smarterclayton/openshift-redis-cart
Website: https://github.com/smarterclayton/openshift-redis-cart
Gears: Located with nodejs-0.10
但是当我尝试在浏览器中访问http://bq-plantagenet.rhcloud.com:8080/时,我得到:
The connection has timed out
The server at bq-plantagenet.rhcloud.com is taking too long to respond
我的问题是出了什么问题,我该如何解决?非常感谢您在阅读本文时所考虑的以及您可能有解决问题的任何建议
答案 0 :(得分:2)
您需要访问http://bq-plantagenet.rhcloud.com,不要使用端口8080,即您在内部侦听的端口。您还应该尝试检查日志文件(https://developers.openshift.com/en/managing-log-files.html)以查看应用程序产生的错误。