Has anyone been successful deploying a node (express) app with Amazon OpsWorks?

前端 未结 5 1836
生来不讨喜
生来不讨喜 2021-02-05 14:40

As the title suggested, I\'ve been playing around deploying apps with Amazons new OpsWorks management system, however I haven\'t been able to figure out how to get the node serv

5条回答
  •  名媛妹妹
    2021-02-05 15:35

    A bit off topic maybe, but I spent a couple of hours on this so I figured it's worth sharing:

    When setting up a Hapi.js server on OpsWorks, I had to ensure that I didn't use hostname localhost, but instead set it to 0.0.0.0. Otherwise it just kept failing silently.

    Hope that helps anyone.

提交回复
热议问题