部署在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
相关文章
相关标签/搜索