1
我剛剛啓動了帶有nodejs的Google應用引擎。我創建了一個在我的機器上正常工作的本地項目。如果我打無法在Google應用引擎上運行nodejs項目
http://localhost:7000/services/user/getuser
它返回一個JSON對象。
我已經部署使用
gcloud app deploy
在谷歌應用程序引擎在同一個項目現在,當我打
http://help-coin.appspot.com/services/user/getuser
它顯示
Error: Server Error
The server encountered a temporary error and could not complete your request.
Please try again in 30 seconds.
我已經檢查了日誌在服務器上
Load controllers from path '/app/app/services' non recursive.
--------make-runnable-output--------
undefined
------------------------------------
Up and running on port 7000
Loading controller 'UserService.js'.
服務器端沒有錯誤。這是什麼問題?我錯過了什麼嗎?
這裏是我已經部署https://github.com/ermarkar/nodejs-typescript-sample
有什麼方法可以改變端口工作在7000上工作嗎? –
@SunilGarg我不這麼認爲。 8080有什麼問題? –