部署在CloudFoundry上的nodejs如何正確使用port環境變量

做一個試驗: scp上運行一個nodejs服務器,監聽在8080端口上: 能夠工作: 改成另一個端口8081: 就不行了: TIP: Application must be listening on the right port. Instead of hard coding the p ont, use the $PORT environment variable Use ‘cf logs je
相關文章
相關標籤/搜索